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:
java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
public class InvalidSeverityException extends java.lang.RuntimeException implements scala.Product, scala.Serializable
Represents the exception thrown when it is attempted to set severity that is not supported by the alarmparam: 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidSeverityException(Key key, scala.collection.immutable.Set<FullAlarmSeverity> supportedSeverities, FullAlarmSeverity invalidSeverity)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static void
addSuppressed(java.lang.Throwable x$1)
abstract static boolean
canEqual(java.lang.Object that)
abstract static boolean
equals(java.lang.Object that)
static java.lang.Throwable
fillInStackTrace()
static java.lang.Throwable
getCause()
static java.lang.String
getLocalizedMessage()
static java.lang.String
getMessage()
static java.lang.StackTraceElement[]
getStackTrace()
static java.lang.Throwable[]
getSuppressed()
static java.lang.Throwable
initCause(java.lang.Throwable x$1)
FullAlarmSeverity
invalidSeverity()
Key
key()
static void
printStackTrace()
static void
printStackTrace(java.io.PrintStream x$1)
static void
printStackTrace(java.io.PrintWriter x$1)
abstract static int
productArity()
abstract static java.lang.Object
productElement(int n)
static scala.collection.Iterator<java.lang.Object>
productIterator()
static java.lang.String
productPrefix()
static void
setStackTrace(java.lang.StackTraceElement[] x$1)
scala.collection.immutable.Set<FullAlarmSeverity>
supportedSeverities()
static java.lang.String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidSeverityException
public InvalidSeverityException(Key key, scala.collection.immutable.Set<FullAlarmSeverity> supportedSeverities, FullAlarmSeverity invalidSeverity)
-
-
Method Detail
-
getMessage
public static java.lang.String getMessage()
-
getLocalizedMessage
public static java.lang.String getLocalizedMessage()
-
getCause
public static java.lang.Throwable getCause()
-
initCause
public static java.lang.Throwable initCause(java.lang.Throwable x$1)
-
toString
public static java.lang.String toString()
-
printStackTrace
public static void printStackTrace()
-
printStackTrace
public static void printStackTrace(java.io.PrintStream x$1)
-
printStackTrace
public static void printStackTrace(java.io.PrintWriter x$1)
-
fillInStackTrace
public static java.lang.Throwable fillInStackTrace()
-
getStackTrace
public static java.lang.StackTraceElement[] getStackTrace()
-
setStackTrace
public static void setStackTrace(java.lang.StackTraceElement[] x$1)
-
addSuppressed
public static final void addSuppressed(java.lang.Throwable x$1)
-
getSuppressed
public static final java.lang.Throwable[] getSuppressed()
-
canEqual
public abstract static boolean canEqual(java.lang.Object that)
-
equals
public abstract static boolean equals(java.lang.Object that)
-
productElement
public abstract static java.lang.Object productElement(int n)
-
productArity
public abstract static int productArity()
-
productIterator
public static scala.collection.Iterator<java.lang.Object> productIterator()
-
productPrefix
public static java.lang.String productPrefix()
-
key
public Key key()
-
supportedSeverities
public scala.collection.immutable.Set<FullAlarmSeverity> supportedSeverities()
-
invalidSeverity
public FullAlarmSeverity invalidSeverity()
-
-