|
SAP NetWeaver 7.11 (EhP1 SP03) Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sap.engine.interfaces.messaging.api.exception.MessagingException
public class MessagingException
The MessagingException is the root exception of the Messaging API.
| Field Summary | |
|---|---|
static String |
ERROR_CATEGORY
|
static String |
ERROR_CODE
|
protected String |
errorCategory
|
protected String |
errorCode
|
protected String |
errorSource
|
protected Message |
messageInError
|
protected MessageKey |
messageInErrorKey
|
| Constructor Summary | |
|---|---|
MessagingException(Exception nestedException)
Constructs a MessagingException wrapping a nested exception. |
|
MessagingException(Message messageInError,
Exception nestedException)
Constructs a MessagingException with a reference to the message in error and wrapping a nested
exception. |
|
MessagingException(MessageKey messageInErrorKey,
Exception nestedException)
Constructs a MessagingException with a message key of the message in error and wrapping a nested
exception. |
|
MessagingException(MessageKey messageInErrorKey,
String errorText)
Constructs a MessagingException with a message key of the message in error and an error text. |
|
MessagingException(Message messageInError,
String errorText)
Constructs a MessagingException with a reference to the message in error and an error text. |
|
MessagingException(String errorText)
Constructs a MessagingException with an error text. |
|
MessagingException(String errorText,
Exception nestedException)
Constructs a MessagingException wrapping a nested exception. |
|
| Method Summary | |
|---|---|
String |
getErrorCategory()
|
String |
getErrorCode()
|
String |
getErrorSource()
|
String |
getMessageInErrorId()
Returns the message ID of the message that this exception is referring to. |
MessageKey |
getMessageInErrorKey()
Returns the message ID of the message that this exception is referring to. |
Exception |
getNestedException()
Returns the nested exception that is wrapped in this exception. |
void |
setErrorCategory(String string)
|
void |
setErrorCode(String string)
|
void |
setErrorSource(String source)
|
void |
setNestedException(Exception ex)
|
String |
toString()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ERROR_CATEGORY
public static final String ERROR_CODE
protected Message messageInError
protected MessageKey messageInErrorKey
protected String errorSource
protected String errorCategory
protected String errorCode
| Constructor Detail |
|---|
public MessagingException(String errorText)
MessagingException with an error text. Whenever possible, a constructor that also takes
a reference to the message in error as a parameter should be preferred.
errorText - is a free form description of the error.public MessagingException(Exception nestedException)
MessagingException wrapping a nested exception. Whenever possible, a constructor that
also takes a reference to the message in error as a parameter should be preferred.
nestedException - the causing exception that is to be wrapped in this exception.
public MessagingException(String errorText,
Exception nestedException)
MessagingException wrapping a nested exception. A free error text can be defined with
the first parameter.
errorText - the error text of the MessagingException object.nestedException - the causing exception that is to be wrapped in this exception.
public MessagingException(Message messageInError,
String errorText)
MessagingException with a reference to the message in error and an error text.
messageInError - is the message that this exception is referring to.errorText - is a free form description of the error.
public MessagingException(Message messageInError,
Exception nestedException)
MessagingException with a reference to the message in error and wrapping a nested
exception.
messageInError - is the message that this exception is referring to.nestedException - the causing exception that is to be wrapped in this exception.
public MessagingException(MessageKey messageInErrorKey,
String errorText)
MessagingException with a message key of the message in error and an error text.
messageInErrorKey - is the message key of the message that this exception is referring to.errorText - is a free form description of the error.
public MessagingException(MessageKey messageInErrorKey,
Exception nestedException)
MessagingException with a message key of the message in error and wrapping a nested
exception.
messageInErrorKey - is the message key of the message that this exception is referring to.nestedException - the causing exception that is to be wrapped in this exception.| Method Detail |
|---|
public String getMessageInErrorId()
null if there is no
message associated with this exception.public MessageKey getMessageInErrorKey()
null if there is no
message associated with this exception.public Exception getNestedException()
null if no exception was
wrapped in this exception.public void setNestedException(Exception ex)
public String toString()
toString in class Throwablepublic String getErrorCategory()
public String getErrorCode()
public String getErrorSource()
public void setErrorCategory(String string)
public void setErrorCode(String string)
public void setErrorSource(String source)
|
SAP NetWeaver 7.11 (EhP1 SP03) Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||