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

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

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

/**
 * 事件账户不存在异常
 */
public class EventAccountDoesNotExistException extends LedgerException {

    public EventAccountDoesNotExistException() {
        this(TransactionState.EVENT_ACCOUNT_DOES_NOT_EXIST, null);
    }

    public EventAccountDoesNotExistException(String message) {
        this(TransactionState.EVENT_ACCOUNT_DOES_NOT_EXIST, message);
    }

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

    public EventAccountDoesNotExistException(String message, Throwable cause) {
        super(message, cause);
        setState(TransactionState.EVENT_ACCOUNT_DOES_NOT_EXIST);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy