public class S2SException extends Exception
| Constructor and Description |
|---|
S2SException()
Creates new
KraException without detail message. |
S2SException(Exception ex)
Creates new
KraException with detail message. |
S2SException(String msg)
Constructs an
KraException with the specified detail message. |
S2SException(String message,
Exception ex)
Creates new
KraException with detail message. |
S2SException(String msg,
int messageType) |
S2SException(String errorKey,
String msg) |
S2SException(String errorKey,
String msg,
String... params) |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorKey()
Gets the errorKey attribute.
|
String |
getMessage()
Get Error Message
|
int |
getMessageType()
Getter for property messageType.
|
String[] |
getMessageWithParams()
This method returns message as first element followed by all params
|
String[] |
getParams()
Gets the params attribute.
|
String |
getUserMessage()
This Method is used to get the User Assigned Message.
|
void |
setErrorKey(String errorKey)
Sets the errorKey attribute value.
|
void |
setMessage(String msg)
Set Error Message
|
void |
setMessageType(int messageType)
Setter for property messageType.
|
void |
setParams(String[] params)
Sets the params attribute value.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic S2SException()
KraException without detail message.public S2SException(Exception ex)
KraException with detail message.ex - public S2SException(String message, Exception ex)
KraException with detail message.ex - public S2SException(String msg)
KraException with the specified detail message.msg - errorMessage the detail message.public S2SException(String msg, int messageType)
public String getMessage()
getMessage in class Throwablepublic String[] getMessageWithParams()
public void setMessage(String msg)
msg - String Error Messagepublic String getUserMessage()
public int getMessageType()
public void setMessageType(int messageType)
messageType - New value of property errorType.public String getErrorKey()
public void setErrorKey(String errorKey)
errorKey - The errorKey to set.public String[] getParams()
public void setParams(String[] params)
params - The params to set.Copyright © 2013 The Kuali Foundation. All Rights Reserved.