Package csw.alarm.api.exceptions
Class InvalidSeverityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
csw.alarm.api.exceptions.InvalidSeverityException
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
public class InvalidSeverityException
extends RuntimeException
implements scala.Product, Serializable
Represents the exception thrown when it is attempted to set severity that is not supported by the alarm
param: key alarm for which the severity was attempted to change param: supportedSeverities list of severities supported by this alarm param: invalidSeverity not supported by the alarm
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidSeverityException(Key key, scala.collection.immutable.Set<FullAlarmSeverity> supportedSeverities, FullAlarmSeverity invalidSeverity) -
Method Summary
Modifier and TypeMethodDescriptionabstract static Rapply(T1 v1, T2 v2, T3 v3) key()scala.collection.immutable.Set<FullAlarmSeverity>static StringtoString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
InvalidSeverityException
public InvalidSeverityException(Key key, scala.collection.immutable.Set<FullAlarmSeverity> supportedSeverities, FullAlarmSeverity invalidSeverity)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3) -
toString
-
key
-
supportedSeverities
-
invalidSeverity
-