org.jboss.security.auth.spi
Class InputValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jboss.security.auth.spi.InputValidationException
All Implemented Interfaces:
Serializable

public class InputValidationException
extends Exception

The InputValidationException is thrown by the InputValidators to indicate that information supplied by clients (e.g. username and password) is not valid (has unexpected tokens, doens't adhere to a pre-defined pattern, etc).

Author:
Stefan Guilhen
See Also:
Serialized Form

Constructor Summary
InputValidationException()
           Creates an instance of InputValidationException.
InputValidationException(String message)
           Creates an instance of InputValidationException with the specified error message.
InputValidationException(String message, Throwable cause)
           Creates an instance of InputValidationException with the specified message and cause.
 
Method Summary
 
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

InputValidationException

public InputValidationException()

Creates an instance of InputValidationException.


InputValidationException

public InputValidationException(String message)

Creates an instance of InputValidationException with the specified error message.

Parameters:
message - a String representing the exception's message.

InputValidationException

public InputValidationException(String message,
                                Throwable cause)

Creates an instance of InputValidationException with the specified message and cause.

Parameters:
message - a String representing the exception's message.
cause - a Throwable representing the cause of the exception, if available.


Copyright © 2009 JBoss Inc.. All Rights Reserved.