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

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

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

public class DataVersionConflictException extends LedgerException {

	private static final long serialVersionUID = 3583192000738807503L;
	
	public DataVersionConflictException() {
		this(TransactionState.DATA_VERSION_CONFLICT, null);
	}

	public DataVersionConflictException(String message) {
		this(TransactionState.DATA_VERSION_CONFLICT, message);
	}

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy