com.ls.util.validation
Class ValidationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ls.BaseException
                    |
                    +--com.ls.util.validation.ValidationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ValidationConfigurationException

public class ValidationException
extends BaseException

Exception handling class for the validation.

Version:
$Revision: 1.1 $
Author:
Last modified by $Author: TMahler $
See Also:
BaseException, Serialized Form

Fields inherited from class com.ls.BaseException
innerThrowable
 
Constructor Summary
ValidationException()
          Creates a ValidationException with no specified detail message.
ValidationException(String description)
          Creates a ValidationException with the specified detail message.
ValidationException(String description, Throwable throwable)
          Creates a ValidationException with the specified detail message and nested throwable.
ValidationException(String description, Throwable throwable, String exceptionCode)
          Creates a ValidationException with the specified detail message and nested throwable.
 
Method Summary
 String getExceptionCode()
          Returns the code of the exception
 
Methods inherited from class com.ls.BaseException
getMessage, getNestedThrowable, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationException

public ValidationException()
Creates a ValidationException with no specified detail message.

ValidationException

public ValidationException(String description)
Creates a ValidationException with the specified detail message.
Parameters:
description - Detail message

ValidationException

public ValidationException(String description,
                           Throwable throwable)
Creates a ValidationException with the specified detail message and nested throwable.
Parameters:
description - Detail message
throwable - Nested exception

ValidationException

public ValidationException(String description,
                           Throwable throwable,
                           String exceptionCode)
Creates a ValidationException with the specified detail message and nested throwable.
Parameters:
description - Detail message
throwable - Nested exception
Method Detail

getExceptionCode

public String getExceptionCode()
Returns the code of the exception
Returns:
The code of the exception