Class JournalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.jackrabbit.core.journal.JournalException
-
- All Implemented Interfaces:
Serializable
public class JournalException extends Exception
TheJournalException
signals an error within a journal operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JournalException(String message)
Constructs a new instance of this class with the specified detail message.JournalException(String message, Throwable rootCause)
Constructs a new instance of this class with the specified detail message and root cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
JournalException
public JournalException(String message)
Constructs a new instance of this class with the specified detail message.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
JournalException
public JournalException(String message, Throwable rootCause)
Constructs a new instance of this class with the specified detail message and root cause.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.rootCause
- root failure cause
-
-