Package org.imixs.archive.core
Class SnapshotException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.imixs.archive.core.SnapshotException
-
- All Implemented Interfaces:
Serializable
public class SnapshotException extends RuntimeException
An SnapshotException is a runtime exception which is thrown by a SnapshotService if data is not read or writable.- Author:
- rsoika
- See Also:
SnapshotService, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringerrorCodeprotected StringerrorContextstatic StringINVALID_DATA
-
Constructor Summary
Constructors Constructor Description SnapshotException(String message)SnapshotException(String message, Exception e)SnapshotException(String aErrorCode, String message)SnapshotException(String aErrorCode, String message, Exception e)SnapshotException(String aErrorContext, String aErrorCode, String message)SnapshotException(String aErrorContext, String aErrorCode, String message, Exception e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorCode()StringgetErrorContext()voidsetErrorCode(String errorCode)voidsetErrorContext(String errorContext)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
INVALID_DATA
public static final String INVALID_DATA
- See Also:
- Constant Field Values
-
errorCode
protected String errorCode
-
errorContext
protected String errorContext
-
-