com.dyuproject.web.rest
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by com.dyuproject.web.rest.ValidationException
All Implemented Interfaces:
Serializable

public final class ValidationException
extends IllegalArgumentException

An exception that is thrown when validation of request content fails.

Author:
David Yu
See Also:
Serialized Form
Date created:
Feb 25, 2009

Constructor Summary
ValidationException(String message, String field)
           
ValidationException(String message, String field, Object pojo)
           
 
Method Summary
 String getField()
           
 Object getPojo()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationException

public ValidationException(String message,
                           String field)

ValidationException

public ValidationException(String message,
                           String field,
                           Object pojo)
Method Detail

getField

public String getField()

getPojo

public Object getPojo()


Copyright © 2008-2013. All Rights Reserved.