public class SolclientException
extends java.lang.RuntimeException
SolEnum.ReturnCode
SolclientErrorInfo
| Constructor and Description |
|---|
SolclientException(SolclientErrorInfo errorInfo,
int returnCode)
Constructs the exception having a message based on the details of
SolclientErrorInfo and the
SolEnum.ReturnCode |
SolclientException(java.lang.String message,
int returnCode)
Constructs the exception having a message and a
SolEnum.ReturnCode |
SolclientException(java.lang.String message,
SolclientErrorInfo errorInfo,
int returnCode)
Constructs the exception based on the message parameter with appended
details of
SolclientErrorInfo and the
SolEnum.ReturnCode |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Returns a formatted error message with the numerical and string
representation of the
SolEnum.ReturnCode Details of the SolclientErrorInfo may be ommited in the message
if none was available. |
int |
getReturnCode()
Returns the
SolEnum.ReturnCode at the time of the exception. |
SolclientErrorInfo |
getSolclientErrorInfo()
Returns the available
SolclientErrorInfo when the exception was
raised. |
public SolclientException(java.lang.String message,
SolclientErrorInfo errorInfo,
int returnCode)
SolclientErrorInfo and the
SolEnum.ReturnCodemessage - errorInfo - SolclientErrorInforeturnCode - SolEnum.ReturnCodepublic SolclientException(SolclientErrorInfo errorInfo, int returnCode)
SolclientErrorInfo and the
SolEnum.ReturnCodeerrorInfo - SolclientErrorInforeturnCode - SolEnum.ReturnCodepublic SolclientException(java.lang.String message,
int returnCode)
SolEnum.ReturnCodemessage - returnCode - SolEnum.ReturnCodepublic SolclientErrorInfo getSolclientErrorInfo()
SolclientErrorInfo when the exception was
raised.SolclientErrorInfopublic java.lang.String getMessage()
SolEnum.ReturnCode SolclientErrorInfo may be ommited in the message
if none was available.getMessage in class java.lang.Throwablepublic int getReturnCode()
SolEnum.ReturnCode at the time of the exception.SolEnum.ReturnCodeCopyright 2004-2025 Solace Corporation. All rights reserved.