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 classProtectionException.InvalidConfigExceptionException thrown when specified configuration was invalid. 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedProtectionException()Default constructor.protectedProtectionException(String message)Creates an exception.protectedProtectionException(String message, Throwable cause)Creates an exception.protectedProtectionException(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
 
 - 
 
 -