java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.nosql.NoSQLException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MappingException
Thrown by the persistence provider when a problem occurs.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs a new runtime exception with null as its detail message.NoSQLException
(String message) Constructs a new runtime exception with the specified detail message.NoSQLException
(String message, Throwable cause) Constructs a new runtime exception with the specified detail message and cause.protected
NoSQLException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs a new runtime exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.NoSQLException
(Throwable cause) Constructs a new runtime exception 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
-
NoSQLException
public NoSQLException()Constructs a new runtime exception with null as its detail message. -
NoSQLException
Constructs a new runtime exception with the specified detail message.- Parameters:
message
- the message
-
NoSQLException
Constructs a new runtime exception with the specified detail message and cause.- Parameters:
message
- the messagecause
- the cause
-
NoSQLException
Constructs a new runtime exception 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
-
NoSQLException
protected NoSQLException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs a new runtime exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.- Parameters:
message
- the messagecause
- the causeenableSuppression
- the enableSuppressionwritableStackTrace
- the writableStackTrace
-