Package csw.alarm.api.exceptions
Class KeyNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- csw.alarm.api.exceptions.KeyNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public class KeyNotFoundException extends java.lang.RuntimeException implements scala.Product, java.io.Serializable
Represents the exception thrown while referring to an invalid key that is not present in alarm store.param: message represents the message with the key that is not present in the alarm store
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyNotFoundException(java.lang.String message)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KeyNotFoundException
apply(Key key)
static KeyNotFoundException
apply(Key.AlarmKey key)
java.lang.String
message()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
apply
public static KeyNotFoundException apply(Key.AlarmKey key)
-
apply
public static KeyNotFoundException apply(Key key)
-
message
public java.lang.String message()
-
-