Package | Description |
---|---|
io.openmessaging | |
io.openmessaging.exception |
Modifier and Type | Method and Description |
---|---|
static OMSRuntimeException |
OMSResponseStatus.generateException(int statusCode,
String reasonPhrase) |
static OMSRuntimeException |
OMSResponseStatus.generateException(OMSResponseStatus status) |
static OMSRuntimeException |
OMSResponseStatus.generateException(OMSResponseStatus status,
String... messageArgs) |
Modifier and Type | Class and Description |
---|---|
class |
OMSDestinationException
The
OMSDestinationException must be thrown when the specified destination does not exist or the destination
is not readable or writable |
class |
OMSMessageFormatException
The
OMSMessageFormatException must be thrown when the provided message is not supported or the attributes are
the wrong type. |
class |
OMSSecurityException
The
OMSSecurityException must be thrown when the client have no enough authority to operate an resource. |
class |
OMSTimeOutException
The
OMSTimeOutException must be thrown when a blocking operation times out. |
class |
OMSTransactionException
The
OMSTransactionException must be thrown when the client execute a transaction error. |
class |
OMSUnsupportException
The
OMSUnsupportException must be thrown when the specified methods, headers or properties have not been
provided by vendors, these methods or headers are usually marked by Optional . |
Copyright © 2017–2020 OpenMessaging. All rights reserved.