Package lumis.portal.healthmonitor
Class HealthCheckException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- lumis.portal.healthmonitor.HealthCheckException
-
- All Implemented Interfaces:
java.io.Serializable
public class HealthCheckException extends java.lang.Exception
This exception should be thrown by HealthCheck implementations in cases where the results are not OK.- Since:
- 10.1.0
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HealthCheckException(HealthCheckResult result)
HealthCheckException(HealthCheckResult.ResultType resultType)
HealthCheckException(HealthCheckResult.ResultType resultType, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLocalizedMessage()
HealthCheckResult
getResult()
-
-
-
Constructor Detail
-
HealthCheckException
public HealthCheckException(HealthCheckResult result)
-
HealthCheckException
public HealthCheckException(HealthCheckResult.ResultType resultType)
-
HealthCheckException
public HealthCheckException(HealthCheckResult.ResultType resultType, java.lang.String message)
-
-
Method Detail
-
getResult
public HealthCheckResult getResult()
-
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in classjava.lang.Throwable
-
-