wt.epm.conflict
Class EPMNonOverrideableConflictException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bywt.util.WTException
              extended bywt.epm.conflict.EPMNonOverrideableConflictException
All Implemented Interfaces:
LocalizableMessage, Message, Serializable

public class EPMNonOverrideableConflictException
extends WTException
implements Serializable

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  Collection errorElements
           
private static String RESOURCE
           
 
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
EPMNonOverrideableConflictException()
          Constructs a EPMNonOverrideableConflictException exception with no specified error elements or embedded throwable object.
EPMNonOverrideableConflictException(Collection a_errorElements)
          Constructs a EPMNonOverrideableConflictException exception with error elements.
EPMNonOverrideableConflictException(Collection a_errorElements, String string)
          Constructs a EPMNonOverrideableConflictException exception with a non-localizable standard message and error elements
EPMNonOverrideableConflictException(Collection a_errorElements, String rb, String key, Object[] params)
          Constructs a EPMNonOverrideableConflictException exception with a localizable standard message constructed from the error elements, bundle, key, and params.
EPMNonOverrideableConflictException(Collection a_errorElements, Throwable throwable)
          Constructs a EPMNonOverrideableConflictException exception with a nested throwable.
EPMNonOverrideableConflictException(Collection a_errorElements, Throwable throwable, String string)
          Constructs a EPMNonOverrideableConflictException exception with an embedded Throwable object, error elements and non-localizable detailed message .
EPMNonOverrideableConflictException(Collection a_errorElements, Throwable throwable, String rb, String key, Object[] params)
          Constructs a EPMNonOverrideableConflictException exception with an embedded Throwable object, error elments and a localizable detailed message.
EPMNonOverrideableConflictException(Collection a_errorElements, Throwable throwable, WTMessage message)
          Constructs a EPMNonOverrideableConflictException exception with a nested throwable, message and error elements.
EPMNonOverrideableConflictException(Collection a_errorElements, WTMessage message)
          Constructs a EPMNonOverrideableConflictException exception given the passed-in message and error elements.
 
Method Summary
 boolean addErrorElement(EPMErrorElement element)
          Adds the specified element to the error elements collection of the EPMNonOverrideableConflictException.
 boolean addErrorElements(Collection elements)
          Adds all of the elements in the specified collection to this error elements collection
 String getAdditionalMessages()
          Returns the localized "additional" messages.
 String getAdditionalMessages(Locale locale)
          Returns the localized "additional" messages.
 Collection getErrorElements()
          Gets the value of the attribute: errorElements.
 
Methods inherited from class wt.util.WTException
getAdditionalMessageArray, getLocalizedMessage, getLocalizedMessage, 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

errorElements

private Collection errorElements
Constructor Detail

EPMNonOverrideableConflictException

public EPMNonOverrideableConflictException(Collection a_errorElements)
Constructs a EPMNonOverrideableConflictException exception with error elements.

Parameters:
a_errorElements - collection of error elements

EPMNonOverrideableConflictException

public EPMNonOverrideableConflictException()
Constructs a EPMNonOverrideableConflictException exception with no specified error elements or embedded throwable object.


EPMNonOverrideableConflictException

public EPMNonOverrideableConflictException(Collection a_errorElements,
                                           String rb,
                                           String key,
                                           Object[] params)
Constructs a EPMNonOverrideableConflictException exception with a localizable standard message constructed from the error elements, bundle, key, and params.

Parameters:
a_errorElements - collection of error elements
rb - the resoure bundle the key resides in
key - the key containing the message in the resource bundle
params - the parameters to substitute in the message

EPMNonOverrideableConflictException

public EPMNonOverrideableConflictException(Collection a_errorElements,
                                           String string)
Constructs a EPMNonOverrideableConflictException exception with a non-localizable standard message and error elements

Parameters:
a_errorElements - collection of error elements
string - the standard message

EPMNonOverrideableConflictException

public EPMNonOverrideableConflictException(Collection a_errorElements,
                                           Throwable throwable)
Constructs a EPMNonOverrideableConflictException exception with a nested throwable.

Parameters:
a_errorElements - collection of error elements
throwable - the nested throwable

EPMNonOverrideableConflictException

public EPMNonOverrideableConflictException(Collection a_errorElements,
                                           Throwable throwable,
                                           String rb,
                                           String key,
                                           Object[] params)
Constructs a EPMNonOverrideableConflictException exception with an embedded Throwable object, error elments and a localizable detailed message.

Parameters:
a_errorElements - collection of error elements
throwable - the nested throwable
rb - the resoure bundle the key resides in
key - the key containing the message in the resource bundle
params - the parameters to substitute in the message

EPMNonOverrideableConflictException

public EPMNonOverrideableConflictException(Collection a_errorElements,
                                           Throwable throwable,
                                           String string)
Constructs a EPMNonOverrideableConflictException exception with an embedded Throwable object, error elements and non-localizable detailed message .

Parameters:
a_errorElements - collection of error elements
throwable - the nested throwable
string - the standard message

EPMNonOverrideableConflictException

public EPMNonOverrideableConflictException(Collection a_errorElements,
                                           Throwable throwable,
                                           WTMessage message)
Constructs a EPMNonOverrideableConflictException exception with a nested throwable, message and error elements.

Parameters:
a_errorElements - collection of error elements
throwable - the nested throwable
message - the message

EPMNonOverrideableConflictException

public EPMNonOverrideableConflictException(Collection a_errorElements,
                                           WTMessage message)
Constructs a EPMNonOverrideableConflictException exception given the passed-in message and error elements.

Parameters:
a_errorElements - collection of error elements
message - the message
Method Detail

getErrorElements

public Collection getErrorElements()
Gets the value of the attribute: errorElements.

Returns:
List

addErrorElement

public boolean addErrorElement(EPMErrorElement element)
Adds the specified element to the error elements collection of the EPMNonOverrideableConflictException. Returns true if this collection changed as a result of the call.

Parameters:
element - error element to add
Returns:
boolean Returns true if this collection changed as a result of the call

addErrorElements

public boolean addErrorElements(Collection elements)
Adds all of the elements in the specified collection to this error elements collection

Parameters:
elements - error elements to add
Returns:
boolean Returns true if this collection changed as a result of the call

getAdditionalMessages

public String getAdditionalMessages()
Returns the localized "additional" messages. The additional messages consist of the array of objects passed during the construction of this object. Each object in the array is localized and each localized result is separated from the other by a newline.

Supported API: true

Overrides:
getAdditionalMessages in class WTException

getAdditionalMessages

public String getAdditionalMessages(Locale locale)
Returns the localized "additional" messages. The additional messages consist of the array of objects passed during the construction of this object. Each object in the array is localized and each localized result is separated from the other by a newline.

Supported API: true

Overrides:
getAdditionalMessages in class WTException
Parameters:
locale - the locale to apply when localizing the standard message