org.apache.sshd.server.channel
Class OpenChannelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.sshd.server.channel.OpenChannelException
- All Implemented Interfaces:
- Serializable
public class OpenChannelException
- extends Exception
Documents failure of a channel to open as expected.
- Author:
- Apache MINA SSHD Project
- See Also:
- Serialized Form
Method Summary |
int |
getReasonCode()
The reason code as specified by RFC 4254. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
OpenChannelException
public OpenChannelException(int code,
String message)
OpenChannelException
public OpenChannelException(int code,
String message,
Throwable cause)
getReasonCode
public int getReasonCode()
- The reason code as specified by RFC 4254.
- Returns:
- reason code; 0 if no standardized reason code is given.
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.