name.angoca.db2sa
Class ParameterNullException

Package class diagram package ParameterNullException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by name.angoca.db2sa.AbstractDB2SAException
              extended by name.angoca.db2sa.ParameterNullException
All Implemented Interfaces:
Serializable

public final class ParameterNullException
extends AbstractDB2SAException

Exception that indicates that a parameter was null.

Control Version

Version:
1.2.0 2009-11-07
Author:
Andres Gomez Casanova (AngocA)
See Also:
Serialized Form

Constructor Summary
ParameterNullException(String parameterNameExcep)
          Creates the exception with the name of a parameter.
 
Method Summary
 String getMessage()
           
 String getParameterName()
          Retrieves the name of the parameter, from which this exception was raised.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ParameterNullException

public ParameterNullException(String parameterNameExcep)
Creates the exception with the name of a parameter.

Parameters:
parameterNameExcep - Parameter that was null.
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getParameterName

public String getParameterName()
Retrieves the name of the parameter, from which this exception was raised.

Returns:
The parameter name that has a null value.


Andres Gomez Casanova (AngocA) 2009-2010 Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.