org.apache.geronimo.validator
Class ValidationException

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

public class ValidationException
extends Exception

See Also:
Serialized Form

Field Summary
protected  Object[] details
           
protected  String message
           
protected static Messages messages
           
protected  String prefix
           
 
Constructor Summary
ValidationException(String message)
           
 
Method Summary
 String getCategory()
           
 Object[] getDetails()
           
 String getMessage()
           
 String getMessage(int level)
           
 String getPrefix()
           
 String getSummary()
           
 void setDetails(Object arg1)
           
 void setDetails(Object arg1, Object arg2)
           
 void setDetails(Object arg1, Object arg2, Object arg3)
           
 void setDetails(Object arg1, Object arg2, Object arg3, Object arg4)
           
 void setDetails(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5)
           
 void setDetails(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6)
           
 
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 Messages messages

details

protected Object[] details

message

protected String message

prefix

protected String prefix
Constructor Detail

ValidationException

public ValidationException(String message)
Method Detail

setDetails

public void setDetails(Object arg1)

setDetails

public void setDetails(Object arg1,
                       Object arg2)

setDetails

public void setDetails(Object arg1,
                       Object arg2,
                       Object arg3)

setDetails

public void setDetails(Object arg1,
                       Object arg2,
                       Object arg3,
                       Object arg4)

setDetails

public void setDetails(Object arg1,
                       Object arg2,
                       Object arg3,
                       Object arg4,
                       Object arg5)

setDetails

public void setDetails(Object arg1,
                       Object arg2,
                       Object arg3,
                       Object arg4,
                       Object arg5,
                       Object arg6)

getDetails

public Object[] getDetails()

getSummary

public String getSummary()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getMessage

public String getMessage(int level)

getPrefix

public String getPrefix()

getCategory

public String getCategory()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.