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

org.hyperledger.aries.api.exception.AriesException Maven / Gradle / Ivy

There is a newer version: 0.10.0
Show newest version
/*
 * Copyright (c) 2020-2021 - for information on the respective copyright owner
 * see the NOTICE file and/or the repository at
 * https://github.com/hyperledger-labs/acapy-java-client
 *
 * SPDX-License-Identifier: Apache-2.0
 */
package org.hyperledger.aries.api.exception;

import lombok.Getter;

public class AriesException extends RuntimeException {

    private static final long serialVersionUID = 3021451664229724966L;

    @Getter private final int code;
    @Getter private final String message;

    public AriesException (int code, String message) {
        super(message);
        this.code = code;
        this.message = message;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy