net.trajano.twiff
Class MissingInitialParameterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.trajano.twiff.TwiffException
                  extended by net.trajano.twiff.MissingInitialParameterException
All Implemented Interfaces:
Serializable

public class MissingInitialParameterException
extends TwiffException

Subclass of TwiffException when there are initial parameters that are not set in the web.xml file.

Author:
Archimedes Trajano
See Also:
Serialized Form

Constructor Summary
MissingInitialParameterException(String parameterName)
          Construct a new exception with no cause and the specified detail message.
 
Method Summary
 String getParameterName()
          Returns the intialization parameter name that was not found.
 
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
 

Constructor Detail

MissingInitialParameterException

public MissingInitialParameterException(String parameterName)
Construct a new exception with no cause and the specified detail message.

Parameters:
parameterName - initial parameter name that is missing
Method Detail

getParameterName

public final String getParameterName()
Returns the intialization parameter name that was not found.

Returns:
the parameter name.


Copyright © 2004-2005 trajano.net. All Rights Reserved.