Package jakarta.nosql

Class NoSQLException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MappingException

public class NoSQLException extends RuntimeException
Thrown by the persistence provider when a problem occurs.
See Also:
  • Constructor Details

    • NoSQLException

      public NoSQLException()
      Constructs a new runtime exception with null as its detail message.
    • NoSQLException

      public NoSQLException(String message)
      Constructs a new runtime exception with the specified detail message.
      Parameters:
      message - the message
    • NoSQLException

      public NoSQLException(String message, Throwable cause)
      Constructs a new runtime exception with the specified detail message and cause.
      Parameters:
      message - the message
      cause - the cause
    • NoSQLException

      public 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).
      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 message
      cause - the cause
      enableSuppression - the enableSuppression
      writableStackTrace - the writableStackTrace