Class SpaceError

All Implemented Interfaces:
Serializable

public class SpaceError extends Error
org.jpos.space.Space operations do not declare any checked exceptions. Persistent space implementations can raise some exceptions that are wrapped around this unchecked SpaceError that we recommend to catch.
Since:
1.4.7
See Also:
  • Constructor Details

    • SpaceError

      public SpaceError()
      Default constructor.
    • SpaceError

      public SpaceError(String message)
      Constructs a new error with the given detail message.
      Parameters:
      message - failure description
    • SpaceError

      public SpaceError(String message, Throwable cause)
      Constructs a new error with the given detail message and cause.
      Parameters:
      message - failure description
      cause - underlying cause
    • SpaceError

      public SpaceError(Throwable cause)
      Constructs a new error wrapping the given cause.
      Parameters:
      cause - underlying cause