Class SpaceError
java.lang.Object
java.lang.Throwable
java.lang.Error
org.jpos.space.SpaceError
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionDefault constructor.SpaceError(String message) Constructs a new error with the given detail message.SpaceError(String message, Throwable cause) Constructs a new error with the given detail message and cause.SpaceError(Throwable cause) Constructs a new error wrapping the given cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SpaceError
public SpaceError()Default constructor. -
SpaceError
Constructs a new error with the given detail message.- Parameters:
message- failure description
-
SpaceError
Constructs a new error with the given detail message and cause.- Parameters:
message- failure descriptioncause- underlying cause
-
SpaceError
Constructs a new error wrapping the given cause.- Parameters:
cause- underlying cause
-