Class CordaPersistenceException
-
- All Implemented Interfaces:
-
java.io.Serializable
,net.corda.v5.base.exceptions.CordaThrowable
public final class CordaPersistenceException extends CordaRuntimeException
Exception that encapsulates errors during persistence.
-
-
Field Summary
Fields Modifier and Type Field Description public String
originalExceptionClassName
public Throwable
cause
public Array<StackTraceElement>
stackTrace
-
Constructor Summary
Constructors Constructor Description CordaPersistenceException(String message, Throwable cause)
CordaPersistenceException(String message)
Creates a CordaPersistenceException without a cause
.
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class net.corda.v5.base.exceptions.CordaRuntimeException
addSuppressed, equals, getCause, getMessage, getOriginalExceptionClassName, getOriginalMessage, hashCode, setCause, setMessage, setOriginalExceptionClassName
-
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CordaPersistenceException
CordaPersistenceException(String message, Throwable cause)
- Parameters:
message
- The exception message.cause
- Optional throwable that was caught.
-
CordaPersistenceException
CordaPersistenceException(String message)
Creates a CordaPersistenceException without acause
.- Parameters:
message
- The exception message.
-
-
-
-