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:
- LocalizableMessage, Message, Serializable
- Direct Known Subclasses:
- NmConsoleOpenException, NmUserException, NmWizardConfirm
- public class NmException
- extends WTException
- See Also:
- Serialized Form
Field Summary |
private boolean |
toEscape
To indicate this this exception is to escape from jsp page without
any messages. |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class wt.util.WTException |
getAdditionalMessageArray, getAdditionalMessages, getAdditionalMessages, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, toString, toString |
toEscape
private boolean toEscape
- To indicate this this exception is to escape from jsp page without
any messages.
NmException
public NmException()
- Constructs a Netmarkets exception with no specified
detailed message or embedded throwable object.
Supported API: true
NmException
public NmException(String s)
- Constructs a Netmarkets exception with a non-localizable detailed
message.
Supported API: true
- Parameters:
s
- the detailed message
NmException
public NmException(String rb,
String key,
Object[] params)
NmException
public NmException(Throwable t)
NmException
public NmException(Throwable t,
String s)
- 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
public NmException(Throwable t,
String rb,
String key,
Object[] params)
- 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:
ResourceBundle
,
MessageFormat
setToEscape
public void setToEscape(boolean a_toEscape)
isToEscape
public boolean isToEscape()