Class HighLevelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.systemsx.cisd.common.exceptions.HighLevelException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConfigurationFailureException,EnvironmentFailureException,InvalidAuthenticationException,InvalidExternalDataException,UserFailureException
An exception that is "high-level" in the sense that we have a pretty good understanding what the failure means in the context where the exception
has been thrown.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHighLevelException(String message) protectedHighLevelException(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns 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.static booleanisRetriable(Throwable th) 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HighLevelException
-
HighLevelException
-
-
Method Details
-
isRetriable
public 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.This class will always return
false, but sub classes can override the method.- Returns:
- Whether retrying the operation can possibly rectify the situation or not.
-
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.This class will always return
false, but sub classes can override the method.- Returns:
- Whether retrying the operation can possibly rectify the situation or not.
-