org.apache.openejb.config
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.openejb.config.ValidationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ValidationError, ValidationFailure, ValidationWarning

public class ValidationException
extends Exception

See Also:
Serialized Form

Field Summary
protected  String componentName
           
protected  Object[] details
           
protected  String message
           
protected static Messages messages
           
protected  String prefix
           
 
Constructor Summary
ValidationException(String message)
           
 
Method Summary
 String getCategory()
           
 String getComponentName()
           
 Object[] getDetails()
           
 String getMessage()
           
 String getMessage(int level)
           
 String getPrefix()
           
 String getSummary()
           
 void setComponentName(String componentName)
           
 void setDetails(Object... details)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

messages

protected static final Messages messages

details

protected Object[] details

message

protected String message

prefix

protected String prefix

componentName

protected String componentName
Constructor Detail

ValidationException

public ValidationException(String message)
Method Detail

setDetails

public void setDetails(Object... details)

getDetails

public Object[] getDetails()

getSummary

public String getSummary()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getMessage

public String getMessage(int level)

getComponentName

public String getComponentName()

setComponentName

public void setComponentName(String componentName)

getPrefix

public String getPrefix()

getCategory

public String getCategory()


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.