com.ibm.msg.client.jms
Interface JmsExceptionDetail
All known implementing classes:
DetailedIllegalStateException, DetailedInvalidClientIDException, DetailedInvalidDestinationException, DetailedInvalidSelectorException, DetailedJMSException, DetailedJMSSecurityException, DetailedMessageEOFException, DetailedMessageFormatException, DetailedMessageNotReadableException, DetailedMessageNotWriteableException, DetailedResourceAllocationException, DetailedTransactionInProgressException, DetailedTransactionRolledBackException
- public interface JmsExceptionDetail
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getExplanation()
Gets the explanation for the message in this exception.
|
|
getKeys()
Gets an iterator for all the message insert keys for the message in this exception.
|
|
getUserAction()
Gets the user action for the message in this exception.
|
|
getValue(java.lang.String insertKey)
Gets the message insert corresponding to a particular key for the translatable message in this
exception.
|
Method Detail
getExplanation
- java.lang.String getExplanation( )
Gets the explanation for the message in this exception. This may be null.
Returns:
explanation
getUserAction
- java.lang.String getUserAction( )
Gets the user action for the message in this exception. This may be null.
Returns:
user action
getValue
- java.lang.String getValue(java.lang.String insertKey)
Gets the message insert corresponding to a particular key for the translatable message in this
exception. The key is a message insert constant or a property constant that is valid for this
message. The valid keys for this message can be obtained using getKeys(). This method will
return null if the key is not valid for this message.
Parameters:
insertKey
- a message insert constant or property constant valid for this message Returns:
insert
See Also:
getKeys
- java.util.Iterator<java.lang.String> getKeys( )
Gets an iterator for all the message insert keys for the message in this exception. The keys
are the property constants or message insert constants that are valid for this message.
Returns:
iterator for the message insert keys