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

com.jd.blockchain.ledger.ContractVersionConflictException Maven / Gradle / Ivy

There is a newer version: 1.6.5.RELEASE
Show newest version
package com.jd.blockchain.ledger;

public class ContractVersionConflictException extends LedgerException {

	private static final long serialVersionUID = 3583192000738807503L;

	private TransactionState state;

	public ContractVersionConflictException() {
		this(TransactionState.CONTRACT_VERSION_CONFLICT, null);
	}

	public ContractVersionConflictException(String message) {
		this(TransactionState.CONTRACT_VERSION_CONFLICT, message);
	}

	private ContractVersionConflictException(TransactionState state, String message) {
		super(message);
		assert TransactionState.SUCCESS != state;
		this.state = state;
	}

	public TransactionState getState() {
		return state;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy