Class ProtectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.onosproject.net.behaviour.protection.ProtectionException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ProtectionException.InvalidConfigException
public abstract class ProtectionException extends java.lang.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(java.lang.String message)
Creates an exception.protected
ProtectionException(java.lang.String message, java.lang.Throwable cause)
Creates an exception.protected
ProtectionException(java.lang.Throwable cause)
Creates an exception.
-
-
-
Constructor Detail
-
ProtectionException
protected ProtectionException()
Default constructor.
-
ProtectionException
protected ProtectionException(java.lang.String message)
Creates an exception.- Parameters:
message
- describing error
-
ProtectionException
protected ProtectionException(java.lang.Throwable cause)
Creates an exception.- Parameters:
cause
- of this Exception
-
ProtectionException
protected ProtectionException(java.lang.String message, java.lang.Throwable cause)
Creates an exception.- Parameters:
message
- describing errorcause
- of this Exception
-
-