Package org.onosproject.vpls.api
Class VplsOperationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.onosproject.vpls.api.VplsOperationException
-
- All Implemented Interfaces:
Serializable
public class VplsOperationException extends RuntimeException
Exception for VPLS operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VplsOperationException(VplsOperation operation, String msg)Constructs a VPLS operation exception with given VPLS operation and message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VplsOperationvplsOperation()Gets VPLS operation for this exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
VplsOperationException
public VplsOperationException(VplsOperation operation, String msg)
Constructs a VPLS operation exception with given VPLS operation and message.- Parameters:
operation- the VPLS operationmsg- the description of the exception
-
-
Method Detail
-
vplsOperation
public VplsOperation vplsOperation()
Gets VPLS operation for this exception.- Returns:
- the VPLS operation
-
-