Package com.ptc.netmarkets.model
Class NmException
java.lang.Object
java.lang.Throwable
java.lang.Exception
wt.util.WTException
com.ptc.netmarkets.model.NmException
- All Implemented Interfaces:
Serializable,LocalizableMessage,Message
*
Supported API: true
Supported API: true
- See Also:
-
Field Summary
Fields inherited from class wt.util.WTException
GETMESSAGE_LINE_SEPARATOR, LINE_SEPARATOR, SPACE_SEPARATOR, TOSTRING_LINE_SEPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a Netmarkets exception with no specified detailed message or embedded throwable object.Constructs a Netmarkets exception with a non-localizable detailed message.NmException(Throwable t, String s) Constructs a Netmarkets exception with an embedded Throwable object and non-localizable detailed message.NmException(Throwable t, String rb, String key, Object[] params) Constructs a Netmarkets exception with an embedded Throwable object and a localizable detailed message. -
Method Summary
Methods inherited from class wt.util.WTException
getAdditionalMessageArray, getAdditionalMessages, getAdditionalMessages, getExceptionIdentifier, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, getWTMessage, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, toString, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Constructor Details
-
NmException
public NmException()Constructs a Netmarkets exception with no specified detailed message or embedded throwable object.
Supported API: true -
NmException
Constructs a Netmarkets exception with a non-localizable detailed message.
Supported API: true- Parameters:
s- the detailed message
-
NmException
Constructs a Netmarkets exception with an embedded Throwable object and non-localizable detailed message.
Supported API: true- Parameters:
t- the embedded Throwable. It may be null.s- the detailed message. It may be null.
-
NmException
Constructs a Netmarkets exception with an embedded Throwable object and a localizable detailed message.
Supported API: true- Parameters:
t- the embedded Throwable. It may be null.rb- the name of the base resource bundle subclass containing the localizable message.key- the key associated with the localizable messageparams- an optional set of objects to be formatted into the localizable message text.- See Also:
-