public class IgnorableStateQueryException extends RuntimeException
Exception which evaluated functions might throw in order to signal that the current state query failed but should be retried.
If the function implements SelfDescribing its description will be added to the failure message
or taken as failure message if no extra message is provided. Otherwise its Object.toString() method
will be called.
Wait,
Serialized Form| Constructor and Description |
|---|
IgnorableStateQueryException(com.google.common.base.Function<?,?> stateQuery)
Constructor with the query which raised the error.
|
IgnorableStateQueryException(com.google.common.base.Function<?,?> stateQuery,
String message)
Constructor with query and message.
|
IgnorableStateQueryException(com.google.common.base.Function<?,?> stateQuery,
String message,
Throwable cause)
Constructor with query, message and cause.
|
IgnorableStateQueryException(com.google.common.base.Function<?,?> stateQuery,
Throwable cause)
Constructor with query and cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalizedMessage() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IgnorableStateQueryException(@Nonnull com.google.common.base.Function<?,?> stateQuery)
Constructor with the query which raised the error.
stateQuery - query raising this exceptionpublic IgnorableStateQueryException(@Nonnull com.google.common.base.Function<?,?> stateQuery, Throwable cause)
Constructor with query and cause.
stateQuery - query raising this exceptioncause - exception which caused the failure on state querypublic IgnorableStateQueryException(@Nonnull com.google.common.base.Function<?,?> stateQuery, String message)
Constructor with query and message.
stateQuery - query raising this exceptionmessage - message for this failure, will be enriched by the description of the stateQuerypublic IgnorableStateQueryException(@Nonnull com.google.common.base.Function<?,?> stateQuery, String message, Throwable cause)
Constructor with query, message and cause.
stateQuery - query raising this exceptionmessage - message for this failure, will be enriched by the description of the stateQuerycause - exception which caused the failure on state querypublic String getMessage()
getMessage in class Throwablepublic String getLocalizedMessage()
getLocalizedMessage in class ThrowableCopyright © 2011-2017 CoreMedia AG. All Rights Reserved.