org.tigris.scarab.util
Class ValidationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.commons.lang.exception.NestableException
              extended byorg.apache.turbine.TurbineException
                  extended byorg.tigris.scarab.util.ScarabException
                      extended byorg.tigris.scarab.util.ValidationException
All Implemented Interfaces:
org.apache.commons.lang.exception.Nestable, java.io.Serializable

public class ValidationException
extends ScarabException

This class extends ScarabException and does not change its functionality. It is thrown when an attempt to modify the database would result in a bad state.

Version:
$Id: ValidationException.java 9104 2004-05-10 21:04:51Z dabbous $
Author:
John D. McNally
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.lang.exception.NestableException
delegate
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
ValidationException(L10NMessage l10nMessage)
          Constructs a new ValidationException with specified detail message.
ValidationException(L10NMessage l10nMessage, java.lang.Throwable nested)
          Constructs a new ValidationException with specified detail message.
ValidationException(LocalizationKey l10nKey)
          Constructs a new ValidationException with specified detail message.
ValidationException(LocalizationKey theKey, java.lang.Object p1)
          convenience constructor: Constructs a new ScarabException with specified resource and one parameter.
ValidationException(LocalizationKey theKey, java.lang.Object[] theParams)
          Constructs a new ValidationException with specified resource and a list of parameters.
ValidationException(LocalizationKey theKey, java.lang.Object p1, java.lang.Object p2)
          convenience constructor: Constructs a new ScarabException with specified resource and two parameters.
ValidationException(LocalizationKey theKey, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
          convenience constructor: Constructs a new ScarabException with specified resource and three parameters.
ValidationException(LocalizationKey theKey, java.lang.Throwable nested, java.lang.Object[] theParams)
          convenience constructor: Constructs a new ScarabException with specified resource, nested Throwable and an aritrary set of parameters.
 
Methods inherited from class org.tigris.scarab.util.ScarabException
getL10nMessage, getLocalizedMessage, getMessage, getMessage, setLocalizer
 
Methods inherited from class org.apache.commons.lang.exception.NestableException
getCause, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationException

public ValidationException(LocalizationKey l10nKey)
Constructs a new ValidationException with specified detail message.


ValidationException

public ValidationException(L10NMessage l10nMessage)
Constructs a new ValidationException with specified detail message.


ValidationException

public ValidationException(L10NMessage l10nMessage,
                           java.lang.Throwable nested)
Constructs a new ValidationException with specified detail message.


ValidationException

public ValidationException(LocalizationKey theKey,
                           java.lang.Object[] theParams)
Constructs a new ValidationException with specified resource and a list of parameters.

Parameters:
theKey - the l10n error key.

ValidationException

public ValidationException(LocalizationKey theKey,
                           java.lang.Object p1)
convenience constructor: Constructs a new ScarabException with specified resource and one parameter.

Parameters:
theKey - the l10n error key.

ValidationException

public ValidationException(LocalizationKey theKey,
                           java.lang.Object p1,
                           java.lang.Object p2)
convenience constructor: Constructs a new ScarabException with specified resource and two parameters.

Parameters:
theKey - the l10n error key.

ValidationException

public ValidationException(LocalizationKey theKey,
                           java.lang.Object p1,
                           java.lang.Object p2,
                           java.lang.Object p3)
convenience constructor: Constructs a new ScarabException with specified resource and three parameters.

Parameters:
theKey - the l10n error key.

ValidationException

public ValidationException(LocalizationKey theKey,
                           java.lang.Throwable nested,
                           java.lang.Object[] theParams)
convenience constructor: Constructs a new ScarabException with specified resource, nested Throwable and an aritrary set of parameters.

Parameters:
theKey - the l10n error key.


Copyright © 2000-2004 Tigris.org. All Rights Reserved.