public class JournalException extends Exception
JournalException
signals an error within a journal operation.Constructor and 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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JournalException(String message)
message
- the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method.public JournalException(String message, Throwable rootCause)
message
- the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method.rootCause
- root failure causeCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.