public class EnvironmentFailureException extends HighLevelException
EnvironmentFailureException
is the super class of all exceptions that have
their cause in the software or hardware environment of the system failing.Constructor and Description |
---|
EnvironmentFailureException(java.lang.String message) |
EnvironmentFailureException(java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static EnvironmentFailureException |
fromTemplate(java.lang.String messageTemplate,
java.lang.Object... args)
Creates an
EnvironmentFailureException using a Formatter . |
static EnvironmentFailureException |
fromTemplate(java.lang.Throwable cause,
java.lang.String messageTemplate,
java.lang.Object... args)
Creates an
EnvironmentFailureException using a Formatter . |
boolean |
isRetriable()
Returns the assessment of the subsystem throwing the exception whether the failure could be
temporarily and thus retrying the operation (on a higher level) could possibly help to cure
the problem.
|
isRetriable
public EnvironmentFailureException(java.lang.String message)
public EnvironmentFailureException(java.lang.String message, java.lang.Throwable cause)
public static EnvironmentFailureException fromTemplate(java.lang.String messageTemplate, java.lang.Object... args)
EnvironmentFailureException
using a Formatter
.public static EnvironmentFailureException fromTemplate(java.lang.Throwable cause, java.lang.String messageTemplate, java.lang.Object... args)
EnvironmentFailureException
using a Formatter
.public boolean isRetriable()
This class will always return true
, but sub classes can override the method.
isRetriable
in class HighLevelException