Delete unused DuplicateContractClassException (#5284)

This commit is contained in:
Dan Newton
2019-07-10 17:01:38 +01:00
committed by Shams Asari
parent 9ccd654ffa
commit 9bcaecfbe3
6 changed files with 6 additions and 19 deletions

View File

@ -11,12 +11,6 @@ import net.corda.core.serialization.CordaSerializable
*/
class DuplicateAttachmentException(attachmentHash: String) : java.nio.file.FileAlreadyExistsException(attachmentHash), ClientRelevantError
/**
* Thrown to indicate that a contract class name of the same version was already uploaded to a Corda node.
*/
class DuplicateContractClassException(contractClassName: String, version: Int, attachmentHashes: List<String>) :
Exception("Contract $contractClassName version '$version' already present in the attachments $attachmentHashes"), ClientRelevantError
/**
* Thrown to indicate that a flow was not designed for RPC and should be started from an RPC client.
*/