|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vhosting.netconf.transport.NetconfTransportException
public class NetconfTransportException
This exception is throws when an error occur into the transport layer or a netconf message can not be sent for any reason.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.vhosting.netconf.transport.NetconfTransportError |
---|
NetconfTransportError.FailCause, NetconfTransportError.NetconfFailCause, NetconfTransportError.TransportFailCause |
Constructor Summary | |
---|---|
NetconfTransportException(java.lang.Exception e,
NetconfTransportError.FailCause cause)
Create a new exception. |
|
NetconfTransportException(java.lang.String detailMessage,
NetconfTransportError.FailCause cause)
Create a new exception. |
Method Summary | |
---|---|
NetconfTransportError.FailCause |
getFailCause()
Get the fail cause. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.vhosting.netconf.transport.NetconfTransportError |
---|
getMessage |
Constructor Detail |
---|
public NetconfTransportException(java.lang.String detailMessage, NetconfTransportError.FailCause cause)
detailMessage
- The exception message.cause
- The fail cause.public NetconfTransportException(java.lang.Exception e, NetconfTransportError.FailCause cause)
e
- The original exception that originated this exception.cause
- The fail cause.Method Detail |
---|
public NetconfTransportError.FailCause getFailCause()
getFailCause
in interface NetconfTransportError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |