Update of /cvsroot/displaytag/display09/src/org/displaytag/exception
In directory sc8-pr-cvs1:/tmp/cvs-serv23292/src/org/displaytag/exception

Added Files:
        ObjectLookupException.java 
Log Message:
added new exception

--- NEW FILE: ObjectLookupException.java ---
package org.displaytag.exception;

/**
 * <p>Exception thrown for errors in accessing bean properties</p>
 * @author fgiust
 * @version $Revision: 1.1 $ ($Author: fgiust $)
 */
public class ObjectLookupException extends BaseNestableJspTagException
{

        /**
         * Instantiate a new ObjectLookupException
         * @param pSourceClass Class where the exception is generated
         * @param pBeanObject javabean
         * @param pBeanProperty name of the property not found in javabean
         * @param pCause previous Exception
         */
        public ObjectLookupException(Class pSourceClass, Object pBeanObject, String 
pBeanProperty, Throwable pCause)
        {
                super(
                        pSourceClass,
                        "Error looking up property \""
                                + pBeanProperty
                                + "\" in object type \""
                                + (pBeanObject != null ? "null" : 
pBeanObject.getClass().getName())
                                + "\"",
                        pCause);
        }

}




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to