public class VTNException extends Exception
VTNException is an exception for notifying errors caused by the
VTN Manager.| Constructor and Description |
|---|
VTNException(String msg)
Consturct a new
VTNException that indicates an internal error. |
VTNException(String msg,
Throwable cause)
Consturct a new
VTNException that indicates an internal error. |
VTNException(VtnErrorTag etag,
String msg)
Consturct a new
VTNException instance that internally stores
the given message and VtnErrorTag. |
VTNException(VtnErrorTag etag,
String msg,
Throwable cause)
Consturct a new
VTNException instance that internally stores
the given message VtnErrorTag. |
| Modifier and Type | Method and Description |
|---|---|
VtnErrorTag |
getVtnErrorTag()
Return the
VtnErrorTag instance which indicates the result of
the operation. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic VTNException(VtnErrorTag etag, String msg)
VTNException instance that internally stores
the given message and VtnErrorTag.etag - The error tag which indicates the cause of error.msg - The detailed message.public VTNException(VtnErrorTag etag, String msg, Throwable cause)
VTNException instance that internally stores
the given message VtnErrorTag.etag - The error tag which indicates the cause of error.msg - The detailed message.cause - The Throwable object which indicates the cause
of error.public VTNException(String msg)
VTNException that indicates an internal error.
VtnErrorTag.INTERNALERROR.
msg - The detailed message.public VTNException(String msg, Throwable cause)
VTNException that indicates an internal error.
VtnErrorTag.INTERNALERROR.
msg - The detailed message.cause - The Throwable object which indicates the cause
of error.public final VtnErrorTag getVtnErrorTag()
VtnErrorTag instance which indicates the result of
the operation.VtnErrorTag instance.Copyright © 2018 OpenDaylight. All rights reserved.