1 16 17 package org.apache.taglibs.jms; 18 19 import javax.servlet.jsp.JspException ; 20 import javax.servlet.jsp.tagext.TagSupport ; 21 22 27 public class AbstractTag extends TagSupport { 28 29 public AbstractTag() { 30 } 31 32 34 protected void handleException( Exception e ) throws JspException { 35 if ( e instanceof JspException ) { 36 throw (JspException ) e; 37 } 38 else { 39 pageContext.getServletContext().log( e.getMessage(), e ); 40 throw new JspException ( e.getMessage() ); 41 } 42 } 43 } 44 | Popular Tags |