Package monero.common

Class MoneroError

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MoneroRpcError

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

    • MoneroError

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

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

      public MoneroError(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