wt.epm.util
Class EPMMultiConstraintException
java.lang.Object
java.lang.Throwable
java.lang.Exception
wt.util.WTException
com.ptc.core.meta.container.common.ConstraintException
wt.epm.util.EPMMultiConstraintException
- All Implemented Interfaces:
- LocalizableMessage, Message, Serializable
- public class EPMMultiConstraintException
- extends ConstraintException
- implements Serializable
- See Also:
- Serialized Form
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, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, toString, toString |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
subExceptions
private List subExceptions
EPMMultiConstraintException
public EPMMultiConstraintException()
EPMMultiConstraintException
public EPMMultiConstraintException(String s)
EPMMultiConstraintException
public EPMMultiConstraintException(String rb,
String key,
Object[] params)
EPMMultiConstraintException
public EPMMultiConstraintException(Throwable t)
EPMMultiConstraintException
public EPMMultiConstraintException(Throwable t,
String s)
EPMMultiConstraintException
public EPMMultiConstraintException(Throwable t,
String rb,
String key,
Object[] params)
addConstraintException
public void addConstraintException(ConstraintException ce)
- Add the passed ConstraintException to the list of constraint exceptions to be considered part
of same validation result.
getAllConstraintExceptions
public List getAllConstraintExceptions()
- Get the list of all constraint exceptions occurred as part of the constraint validation process.
getLocalizedMessage
public String getLocalizedMessage(Locale locale)
- Return line seperated localized message for all the constraint exception enclosed in this exception.
- Specified by:
getLocalizedMessage
in interface LocalizableMessage
- Overrides:
getLocalizedMessage
in class ConstraintException