Package zephyr.common

Class ZephyrError

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ZephyrRpcError

public class ZephyrError extends RuntimeException
Exception when interacting with a Zephyr wallet or daemon.
See Also:
  • Constructor Details

    • ZephyrError

      public ZephyrError(Throwable e)
      Construct the exception with an existing exception.
      Parameters:
      e - is the existing exception
    • ZephyrError

      public ZephyrError(String message)
      Construct the exception.
      Parameters:
      message - is a human-readable description of the error
    • ZephyrError

      public ZephyrError(String message, Integer code)
      Construct the exception.
      Parameters:
      message - is a human-readable description of the error
      code - is the error code (optional)
  • Method Details