
org.hyperledger.fabric.contract.ContractRuntimeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fabric-chaincode-shim Show documentation
Show all versions of fabric-chaincode-shim Show documentation
Hyperledger Fabric Java Chaincode Shim
The newest version!
/*
* Copyright 2019 IBM 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 {
/** Generated serial version id. */
private static final long serialVersionUID = -884373036398750450L;
/** @param string */
public ContractRuntimeException(final String string) {
super(string);
}
/**
* @param string
* @param cause
*/
public ContractRuntimeException(final String string, final Throwable cause) {
super(string, cause);
}
/** @param cause */
public ContractRuntimeException(final Throwable cause) {
super(cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy