|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.systemsx.cisd.common.exceptions.HighLevelException
ch.systemsx.cisd.common.exceptions.EnvironmentFailureException
public class EnvironmentFailureException
The EnvironmentFailureException
is the super class of all exceptions that have
their cause in the software or hardware environment of the system failing.
Note that the user does not count as part of the environment in this respect.
Constructor Summary | |
---|---|
EnvironmentFailureException(java.lang.String message)
|
|
EnvironmentFailureException(java.lang.String message,
java.lang.Throwable cause)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EnvironmentFailureException(java.lang.String message)
public EnvironmentFailureException(java.lang.String message, java.lang.Throwable cause)
Method Detail |
---|
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 false
, but sub classes can override the method.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |