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 Details

  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2, T3 v3)
    • toString

      public static String toString()
    • key

      public Key key()
    • supportedSeverities

      public scala.collection.immutable.Set<FullAlarmSeverity> supportedSeverities()
    • invalidSeverity

      public FullAlarmSeverity invalidSeverity()