Class ProtectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.onosproject.net.behaviour.protection.ProtectionException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProtectionException.InvalidConfigException
public abstract class ProtectionException extends Exception
Base class for Protection related Exceptions.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProtectionException.InvalidConfigException
Exception thrown when specified configuration was invalid.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProtectionException()
Default constructor.protected
ProtectionException(String message)
Creates an exception.protected
ProtectionException(String message, Throwable cause)
Creates an exception.protected
ProtectionException(Throwable cause)
Creates an exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProtectionException
protected ProtectionException()
Default constructor.
-
ProtectionException
protected ProtectionException(String message)
Creates an exception.- Parameters:
message
- describing error
-
ProtectionException
protected ProtectionException(Throwable cause)
Creates an exception.- Parameters:
cause
- of this Exception
-
-