Package expert.os.harperdb
Class HarperDBException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
expert.os.harperdb.HarperDBException
- All Implemented Interfaces:
Serializable
Custom exception class for handling exceptions related to HarperDB operations.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new HarperDBException with no specified detail message.HarperDBException(String message) Constructs a new HarperDBException with the specified detail message.HarperDBException(String message, Throwable cause) Constructs a new HarperDBException with the specified detail message and cause.HarperDBException(Throwable cause) Constructs a new HarperDBException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HarperDBException
public HarperDBException()Constructs a new HarperDBException with no specified detail message. -
HarperDBException
Constructs a new HarperDBException with the specified detail message.- Parameters:
message- the detail message (which is saved for later retrieval by the getMessage() method).
-
HarperDBException
Constructs a new HarperDBException with the specified detail message and cause.- Parameters:
message- the detail message (which is saved for later retrieval by the getMessage() method).cause- the cause (which is saved for later retrieval by the getCause() method).
-
HarperDBException
Constructs a new HarperDBException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).- Parameters:
cause- the cause (which is saved for later retrieval by the getCause() method).
-