com.tensegrity.generic.util
Class InvalidArgumentException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.tensegrity.generic.util.DynamicException
                  extended bycom.tensegrity.generic.util.InvalidArgumentException
All Implemented Interfaces:
java.io.Serializable

public class InvalidArgumentException
extends DynamicException

Thrown whenever an invalid argument is passed to a method, including constructors.

This class extends DynamicException and is therefore a subtype of java.lang.RuntimeException and unchecked.

Version:
$Id: InvalidArgumentException.java,v 1.11 2005/04/29 14:42:59 KevinCVS Exp $
Author:
Andreas Ebbert
See Also:
Serialized Form

Field Summary
static java.lang.String INVALID_TYPE
          convenience constants for use with the constructor
static java.lang.String INVALID_VALUE
          convenience constants for use with the constructor
static java.lang.String INVALID_VALUES
          convenience constants for use with the constructor
static java.lang.String NULL_ARGUMENT
          convenience constants for use with the constructor
static java.lang.String NULL_ARGUMENTS
          convenience constants for use with the constructor
 
Constructor Summary
InvalidArgumentException()
          Constructor that uses a default "argument may not be null" message.
InvalidArgumentException(java.lang.String description)
          Constructs an exception indicating that a invalid argument has been passed.
 
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
 

Field Detail

NULL_ARGUMENT

public static final java.lang.String NULL_ARGUMENT
convenience constants for use with the constructor

See Also:
Constant Field Values

NULL_ARGUMENTS

public static final java.lang.String NULL_ARGUMENTS
convenience constants for use with the constructor

See Also:
Constant Field Values

INVALID_TYPE

public static final java.lang.String INVALID_TYPE
convenience constants for use with the constructor

See Also:
Constant Field Values

INVALID_VALUE

public static final java.lang.String INVALID_VALUE
convenience constants for use with the constructor

See Also:
Constant Field Values

INVALID_VALUES

public static final java.lang.String INVALID_VALUES
convenience constants for use with the constructor

See Also:
Constant Field Values
Constructor Detail

InvalidArgumentException

public InvalidArgumentException()
Constructor that uses a default "argument may not be null" message.


InvalidArgumentException

public InvalidArgumentException(java.lang.String description)
Constructs an exception indicating that a invalid argument has been passed.

Parameters:
description - a detailed description of the cause for this exception.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.