Class Message
java.lang.Object
de.mid.innovator.m2msdk.util.msg.Message
- All Implemented Interfaces:
MessageIF, Serializable
Message with arguments and probably additional exception. The exception
itself has an object stack and a call stack. You have to create a new
instance of this class for each new message, you want to use for the logger
or in an exception. The message key is translated on demand.
- Version:
- 10.1.1
- Author:
- jmback
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalInformation(String string, String string2) voidvoidfillObjectstack(SessionInterface iSession) Fill the object stack from the progress model.getArgs()Get arguments of a single message.Get the details of a message.getKey()Get message key of a single message.getName()Get the message name, i.e.static booleanisTranslated(String iKey) voidremember()The message is stored into cache.voidtoString()static StringGet message text for message key and arguments.
-
Constructor Details
-
Message
-
-
Method Details
-
getArgs
-
translate
-
isTranslated
-
getDetails
Description copied from interface:MessageIFGet the details of a message.- Specified by:
getDetailsin interfaceMessageIF- Returns:
- Detailsd of error message including call stack
-
toString
-
getName
-
fillObjectstack
Fill the object stack from the progress model.- Parameters:
iSession- current session- Throws:
M2MExceptionRemoteException
-
getObjectstack
-
addException
-
getThrowable
-
getKey
-
setArg
-
remember
-
addAdditionalInformation
-