| 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  | OMSDestinationExceptionThe  OMSDestinationExceptionmust be thrown when the specified destination does not exist or the destination
 is not readable or writable | 
| class  | OMSMessageFormatExceptionThe  OMSMessageFormatExceptionmust be thrown when the provided message is not supported or the attributes are
 the wrong type. | 
| class  | OMSSecurityExceptionThe  OMSSecurityExceptionmust be thrown when the client have no enough authority to operate an resource. | 
| class  | OMSTimeOutExceptionThe  OMSTimeOutExceptionmust be thrown when a blocking operation times out. | 
| class  | OMSTransactionExceptionThe  OMSTransactionExceptionmust be thrown when the client execute a transaction error. | 
| class  | OMSUnsupportExceptionThe  OMSUnsupportExceptionmust be thrown when the specified methods, headers or properties have not been
 provided by vendors, these methods or headers are usually marked byOptional. | 
Copyright © 2017–2020 OpenMessaging. All rights reserved.