Class DataAccessException

  • All Implemented Interfaces:
    Serializable

    public class DataAccessException
    extends NyxException
    This exception models an issue pertaining data access. Examples are when data can't be read from or written to the file system or from/to the network.
    See Also:
    Serialized Form
    • Constructor Detail

      • DataAccessException

        public DataAccessException()
        Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
      • DataAccessException

        public DataAccessException​(String message)
        Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
        Parameters:
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
      • DataAccessException

        public DataAccessException​(String message,
                                   Throwable cause)
        Constructs a new exception with the specified detail message and cause.
        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method).
      • DataAccessException

        public DataAccessException​(Throwable cause)
        Constructs a new exception with the specified cause.
        Parameters:
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method).