public class ServiceException
extends java.lang.Exception
implements java.io.Serializable, com.ibm.commerce.exception.ECCorrelatedIdentity
Constructor and Description |
---|
ServiceException()
Constructs a ServiceException.
|
ServiceException(java.lang.String correlationIdentifier, long reasonCode, java.lang.String localizedMessage, java.lang.String[] symptomData, ServiceParameterError[] serviceParameterErrors, boolean recoverable)
Constructs a ServiceException.
|
ServiceException(java.lang.String correlationIdentifier, long reasonCode, java.lang.String message, java.lang.String localizedMessage, java.lang.String[] symptomData, ServiceParameterError[] serviceParameterErrors, boolean recoverable)
Constructs a ServiceException.
|
ServiceException(java.lang.Throwable throwable)
Constructs a ServiceException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getCorrelationIdentifier()
Gets the exception correlation identifier.
|
java.lang.String | getLocalizedMessage()
Gets the localized exception message.
|
java.lang.String | getMessage()
Gets the exception message.
|
long | getReasonCode()
Gets the reason code.
|
ServiceParameterError[] | getServiceParameterErrors()
Gets the related service parameter errors if any are available.
|
java.lang.String[] | getSymptomData()
Gets the symptom data.
|
boolean | isRecoverable()
Checks whether this service exception is recoverable.
|
void | printStackTrace(java.io.PrintStream s)
Calls super printStackTrace() and prints out the correlation identifier if one exists.
|
void | printStackTrace(java.io.PrintWriter s)
Calls super printStackTrace() and prints out the correlation identifier if one exists.
|
public ServiceException()
public ServiceException(java.lang.Throwable throwable)
public ServiceException(java.lang.String correlationIdentifier, long reasonCode, java.lang.String localizedMessage, java.lang.String[] symptomData, ServiceParameterError[] serviceParameterErrors, boolean recoverable)
public ServiceException(java.lang.String correlationIdentifier, long reasonCode, java.lang.String message, java.lang.String localizedMessage, java.lang.String[] symptomData, ServiceParameterError[] serviceParameterErrors, boolean recoverable)
public java.lang.String getCorrelationIdentifier()
public long getReasonCode()
public java.lang.String getMessage()
public java.lang.String getLocalizedMessage()
public java.lang.String[] getSymptomData()
public ServiceParameterError[] getServiceParameterErrors()
public boolean isRecoverable()
public void printStackTrace(java.io.PrintWriter s)
public void printStackTrace(java.io.PrintStream s)