Package org.cyclos.model
Class UnexpectedDataAccessException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.cyclos.model.CyclosException
-
- org.cyclos.model.FrameworkException
-
- org.cyclos.model.DataAccessException
-
- org.cyclos.model.UnexpectedDataAccessException
-
- All Implemented Interfaces:
Serializable
public class UnexpectedDataAccessException extends DataAccessException
Represents an unknown exception on the data access (database or content storage)- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnexpectedDataAccessException()UnexpectedDataAccessException(String message)UnexpectedDataAccessException(String message, Throwable cause)UnexpectedDataAccessException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldGenerateLog()Returns whether the current exception should generate an error log (stored in the database with ErrorLogService)-
Methods inherited from class org.cyclos.model.CyclosException
getAttribute, getMessage, setAttribute
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnexpectedDataAccessException
public UnexpectedDataAccessException()
-
UnexpectedDataAccessException
public UnexpectedDataAccessException(String message)
-
UnexpectedDataAccessException
public UnexpectedDataAccessException(String message, Throwable cause)
-
UnexpectedDataAccessException
public UnexpectedDataAccessException(Throwable cause)
-
-
Method Detail
-
shouldGenerateLog
public boolean shouldGenerateLog()
Description copied from class:CyclosExceptionReturns whether the current exception should generate an error log (stored in the database with ErrorLogService)- Overrides:
shouldGenerateLogin classCyclosException
-
-