com.boylesoftware.cb2.presentation.servlet
Class NoRequiredParamException

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

public class NoRequiredParamException
extends javax.servlet.ServletException

This exception is thrown by the ShowPageAction when it can't find a required presentation element input parameter in the scope while setting it up. 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: NoRequiredParamException.java,v 1.1 2003/07/20 16:04:19 levahim Exp $
Author:
Lev Himmelfarb
See Also:
Serialized Form

Constructor Summary
NoRequiredParamException(java.lang.String message)
          Constructs a new exception.
NoRequiredParamException(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

NoRequiredParamException

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

Parameters:
message - the error message.

NoRequiredParamException

public NoRequiredParamException(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.