com.boylesoftware.cb2.presentation.servlet
Class InvalidParamValueException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.servlet.ServletException
              extended bycom.boylesoftware.cb2.presentation.servlet.InvalidParamValueException
All Implemented Interfaces:
java.io.Serializable

public class InvalidParamValueException
extends javax.servlet.ServletException

This exception is thrown by the ShowPageAction when an presentation element input parameter has an invalid value. The reason it is a separate exception type is that you can filter it with an onerror element of a page descriptor and forward to some special page instead of throwing the exception further to the servlet container.

Version:
$Id: InvalidParamValueException.java,v 1.1 2003/07/20 16:04:19 levahim Exp $
Author:
Lev Himmelfarb
See Also:
Serialized Form

Constructor Summary
InvalidParamValueException(java.lang.String message)
          Constructs a new exception.
InvalidParamValueException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new exception caused by another exception.
 
Methods inherited from class javax.servlet.ServletException
getRootCause
 
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

InvalidParamValueException

public InvalidParamValueException(java.lang.String message)
Constructs a new exception.

Parameters:
message - the error message.

InvalidParamValueException

public InvalidParamValueException(java.lang.String message,
                                  java.lang.Throwable cause)
Constructs a new exception caused by another exception.

Parameters:
message - the error message.
cause - the cause.


Copyright © 2002,2003,2004 - Boyle Software, Inc.