wt.epm.util
Class EPMMultiConstraintException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bywt.util.WTException
              extended bycom.ptc.core.meta.container.common.ConstraintException
                  extended bywt.epm.util.EPMMultiConstraintException
All Implemented Interfaces:
LocalizableMessage, Message, Serializable

public class EPMMultiConstraintException
extends ConstraintException
implements Serializable

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
private  List subExceptions
           
 
Fields inherited from class com.ptc.core.meta.container.common.ConstraintException
 
Fields inherited from class wt.util.WTException
GETMESSAGE_LINE_SEPARATOR, LINE_SEPARATOR, SPACE_SEPARATOR, TOSTRING_LINE_SEPARATOR
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
EPMMultiConstraintException()
           
EPMMultiConstraintException(String s)
           
EPMMultiConstraintException(String rb, String key, Object[] params)
           
EPMMultiConstraintException(Throwable t)
           
EPMMultiConstraintException(Throwable t, String s)
           
EPMMultiConstraintException(Throwable t, String rb, String key, Object[] params)
           
 
Method Summary
 void addConstraintException(ConstraintException ce)
          Add the passed ConstraintException to the list of constraint exceptions to be considered part of same validation result.
 List getAllConstraintExceptions()
          Get the list of all constraint exceptions occurred as part of the constraint validation process.
 String getLocalizedMessage(Locale locale)
          Return line seperated localized message for all the constraint exception enclosed in this exception.
 
Methods inherited from class com.ptc.core.meta.container.common.ConstraintException
getAttributeContent, getAttributeIdentifier, getConstraintData, getConstraintIdentifier, getLocalizedMessage, setData
 
Methods inherited from class wt.util.WTException
getAdditionalMessageArray, getAdditionalMessages, getAdditionalMessages, getLocalizedMessage, getLocalizedMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

subExceptions

private List subExceptions
Constructor Detail

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)
Method Detail

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