1 package io.bytom.exception;
4 * Base exception class for the Chain Core SDK.
6 public class BytomException extends Exception {
10 public BytomException() {
15 * Initializes exception with its message attribute.
17 * @param message error message
19 public BytomException(String message) {
24 * Initializes a new exception while storing the original cause.
26 * @param message the error message
27 * @param cause the cause of the exception
29 public BytomException(String message, Throwable cause) {
30 super(message, cause);