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 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 { /** * * @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); } /** * Generated serial version id. */ private static final long serialVersionUID = -884373036398750450L; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy