org.atmosphere.wasync.transport
Class TransportNotSupported
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.atmosphere.wasync.transport.TransportNotSupported
- All Implemented Interfaces:
- java.io.Serializable
public class TransportNotSupported
- extends java.lang.Exception
An exception thrown when a Transport is not supported by the server. The exception can be handled using a Function:
class Function<TransportNotSupported>() {
public void on(TransportNotSupported ex) {
}
}
- Author:
- Jeanfrancois Arcand
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TransportNotSupported
public TransportNotSupported(int statusCode,
java.lang.String reasonPhrase)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Throwable
getStatusCode
public int getStatusCode()
Copyright © 2014. All Rights Reserved.