All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hyperledger.fabric.contract.ContractRuntimeException Maven / Gradle / Ivy

There is a newer version: 2.5.3
Show newest version
/*
Copyright IBM Corp. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/
package org.hyperledger.fabric.contract;

import org.hyperledger.fabric.shim.ChaincodeException;

/**
 * Specific RuntimeException for events that occur in the calling and handling
 * of the Contracts, NOT within the contract logic itself.
 * 

* FUTURE At some future point we wish to add more diagnostic information into this, * for example current tx id * */ public class ContractRuntimeException extends ChaincodeException { public ContractRuntimeException(String string) { super(string); } public ContractRuntimeException(String string, Throwable cause) { super(string, cause); } public ContractRuntimeException(Throwable cause) { super(cause); } /** * Generated serial version id */ private static final long serialVersionUID = -884373036398750450L; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy