public abstract class AxonNonTransientException extends AxonException
Constructor and Description |
---|
AxonNonTransientException(String message)
Initializes the exception using the given
message . |
AxonNonTransientException(String message,
Throwable cause)
Initializes the exception using the given
message and cause . |
Modifier and Type | Method and Description |
---|---|
static boolean |
isCauseOf(Throwable throwable)
Indicates whether the given
throwable is a AxonNonTransientException exception or indicates to be
caused by one. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AxonNonTransientException(String message)
message
.message
- The message describing the exceptionpublic static boolean isCauseOf(Throwable throwable)
throwable
is a AxonNonTransientException exception or indicates to be
caused by one.throwable
- The throwable to inspecttrue
if the given instance or one of it's causes is an instance of
AxonNonTransientException, otherwise false
Copyright © 2010–2017. All rights reserved.