com.bea.wli.config.component
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bea.wli.config.component.ValidationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlreadyExistsException, InvalidAttributeValueException, NotFoundException

public class ValidationException
extends Exception

Thrown when a configuration operation cannot be performed on a resource, folder or project due to non-existing data, or other constraints

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
ValidationException(Diagnostics diags)
           
ValidationException(Ref ref, String msg, Throwable cause)
           
ValidationException(String msg, Throwable cause)
           
 
Method Summary
 Diagnostics getDiagnostics()
           
 Ref getRef()
          Returns the reference for the component which this exception relates to
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ValidationException

public ValidationException(Ref ref,
                           String msg,
                           Throwable cause)

ValidationException

public ValidationException(String msg,
                           Throwable cause)

ValidationException

public ValidationException(Diagnostics diags)
Method Detail

getRef

public Ref getRef()
Returns the reference for the component which this exception relates to

Returns:

getDiagnostics

public Diagnostics getDiagnostics()