Class HighLevelException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ch.systemsx.cisd.common.exceptions.HighLevelException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ConfigurationFailureException,EnvironmentFailureException,InvalidAuthenticationException,InvalidExternalDataException,UserFailureException
public abstract class HighLevelException extends java.lang.RuntimeExceptionAn 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:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHighLevelException(java.lang.String message)protectedHighLevelException(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisRetriable()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.static booleanisRetriable(java.lang.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.
-
-
-
Method Detail
-
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
public static boolean isRetriable(java.lang.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.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.
-
-