Package lumis.portal.healthmonitor
Class HealthCheckException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- lumis.portal.healthmonitor.HealthCheckException
-
- All Implemented Interfaces:
Serializable
public class HealthCheckException extends Exception
This exception should be thrown by HealthCheck implementations in cases where the results are not OK.- Since:
- 10.1.0
- Version:
- $Revision: 19963 $ $Date: 2017-02-21 19:28:29 -0300 (Tue, 21 Feb 2017) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HealthCheckException(HealthCheckResult result)
HealthCheckException(HealthCheckResult.ResultType resultType)
HealthCheckException(HealthCheckResult.ResultType resultType, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLocalizedMessage()
HealthCheckResult
getResult()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
HealthCheckException
public HealthCheckException(HealthCheckResult result)
-
HealthCheckException
public HealthCheckException(HealthCheckResult.ResultType resultType)
-
HealthCheckException
public HealthCheckException(HealthCheckResult.ResultType resultType, String message)
-
-
Method Detail
-
getResult
public HealthCheckResult getResult()
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in classThrowable
-
-