net.lucidviews.util
Class IllegalNullValueException

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 net.lucidviews.util.IllegalNullValueException
All Implemented Interfaces:
Serializable

public class IllegalNullValueException
extends IllegalArgumentException

Thrown to indicate that a method has been passed an illegal or inappropriate null value as an argument.

Since:
1.3
Version:
$Revision: 1.1.2.1 $
Author:
Stephen Battey
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Serialisation id.
 
Constructor Summary
IllegalNullValueException()
          Constructs an IllegalNullValueException with no detail message.
IllegalNullValueException(String message)
          Constructs an IllegalNullValueException with the specified detail message.
IllegalNullValueException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
IllegalNullValueException(Throwable cause)
          Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serialisation id.

See Also:
Constant Field Values
Constructor Detail

IllegalNullValueException

public IllegalNullValueException()
Constructs an IllegalNullValueException with no detail message.


IllegalNullValueException

public IllegalNullValueException(String message)
Constructs an IllegalNullValueException with the specified detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method)

IllegalNullValueException

public IllegalNullValueException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for exceptions that are little more than wrappers for other throwables (for example, PrivilegedActionException).

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

IllegalNullValueException

public IllegalNullValueException(String message,
                                 Throwable cause)
Constructs a new exception with the specified detail message and cause.
Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method)
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)