public class ServiceException
extends com.appiancorp.asl3.servicefw.connect.ServiceException
Constructor and Description |
---|
ServiceException()
Constructs a new
ServiceException with empty detail message. |
ServiceException(java.lang.String msg_)
Constructs a
ServiceException with the specified detail
message. |
ServiceException(java.lang.String msg_,
java.lang.Throwable cause_)
Constructs a new
ServiceException with the specified detail
message and cause. |
ServiceException(java.lang.Throwable cause_)
Constructs a new ServiceException with the specified cause and a detail
message of (cause==null ?
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getCustomMessage()
This method creates a string representation of custom exception message by
appending the calling method, method parameters and calling class.
|
java.lang.String |
getMessage()
Returns the string representation of exception message.
|
void |
setRequest(java.lang.reflect.Method m_,
java.lang.Object[] p_)
This method stores the
Method and the parameters of the
calling fuction. |
public ServiceException()
ServiceException
with empty detail message.public ServiceException(java.lang.String msg_)
ServiceException
with the specified detail
message.msg_
- the detail messagepublic ServiceException(java.lang.String msg_, java.lang.Throwable cause_)
ServiceException
with the specified detail
message and cause.msg_
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method).cause_
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null
value is permitted, and indicates that the cause is nonexistent
or unknown.)public ServiceException(java.lang.Throwable cause_)
cause_
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null
value is permitted, and indicates that the cause is nonexistent
or unknown.)public void setRequest(java.lang.reflect.Method m_, java.lang.Object[] p_)
Method
and the parameters of the
calling fuction.
This method and parameters are later used to create a custom exception
message.setRequest
in class com.appiancorp.asl3.servicefw.connect.ServiceException
m_
- calling methodp_
- parameter array of all parameters for calling methodgetCustomMessage()
public java.lang.String getMessage()
getMessage
in class com.appiancorp.asl3.servicefw.connect.ServiceException
protected java.lang.String getCustomMessage()
getCustomMessage
in class com.appiancorp.asl3.servicefw.connect.ServiceException
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.