public class TransportException
extends RuntimeException
| Constructor and Description | 
|---|
| TransportException(TransportErrorCode errorCode,
                  ExceptionMessage exceptionMessage) | 
| Modifier and Type | Method and Description | 
|---|---|
| TransportErrorCode | errorCode()The error code that should be sent to the transport. | 
| ExceptionMessage | exceptionMessage()The message that should be sent to the transport. | 
| static TransportException | fromCodeAndMessage(TransportErrorCode errorCode,
                  ExceptionMessage exceptionMessage) | 
| String | toString() | 
public TransportException(TransportErrorCode errorCode, ExceptionMessage exceptionMessage)
public static TransportException fromCodeAndMessage(TransportErrorCode errorCode, ExceptionMessage exceptionMessage)
public TransportErrorCode errorCode()
public ExceptionMessage exceptionMessage()
public String toString()
toString in class Throwable