Package com.mooltiverse.oss.nyx.io
Class DataAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.mooltiverse.oss.nyx.NyxException
com.mooltiverse.oss.nyx.io.DataAccessException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception withnullas its detail message.DataAccessException(String message) Constructs a new exception with the specified detail message.DataAccessException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.DataAccessException(Throwable cause) Constructs a new exception with the specified 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
-
DataAccessException
public DataAccessException()Constructs a new exception withnullas its detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable). -
DataAccessException
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable).- Parameters:
message- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()method.
-
DataAccessException
Constructs a new exception with the specified detail message and cause.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method).
-
DataAccessException
Constructs a new exception with the specified cause.- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method).
-