javax.servlet.jsp

Class JspTagException

Implemented Interfaces:
Serializable

public class JspTagException
extends JspException

See Also:
Serialized Form

Constructor Summary

JspTagException()
Create a JspException
JspTagException(String msg)
Create a JspException with a message.
JspTagException(String msg, Throwable rootCause)
Create a JspException with a message and a root cause.
JspTagException(Throwable rootCause)
Create a JspException with a root cause.

Method Summary

Methods inherited from class javax.servlet.jsp.JspException

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, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

JspTagException

public JspTagException()
Create a JspException
Usages and Demos :

View More Examples of JspTagException()
   1:         
   2:         throw new JspTagException();
   3:     }
   4: }

View Full Code Here
   1:     } else {
   2:         throw new JspTagException();
   3:     }
   4: 
   5:     return EVAL_PAGE;

View Full Code Here

JspTagException

public JspTagException(String msg)
Create a JspException with a message.
Usages and Demos :

View More Examples of JspTagException(String msg)
   1:         } catch (IOException e) {
   2:             throw new JspTagException("" + e);
   3:         }
   4:         return SKIP_BODY;
   5:     }

View Full Code Here
   1:     }
   2:     catch (Exception ex) { throw new JspTagException("Fehler " + ex); }
   3:   }
   4: }

View Full Code Here
   1:     }
   2:     catch (Exception ex) { throw new JspTagException("Fehler " + ex); }
   3:   }
   4: }

View Full Code Here
   1:         } catch (IOException e) {
   2:             throw new JspTagException("" + e);
   3:         }
   4:         return SKIP_BODY;
   5:     }

View Full Code Here
   1:     }
   2:     catch (Exception ex) { throw new JspTagException("Fehler " + ex); }
   3:   }
   4: }

View Full Code Here

JspTagException

public JspTagException(String msg,
                       Throwable rootCause)
Create a JspException with a message and a root cause.
Parameters:
msg - the exception message
rootCause - the underlying exception.
Since:
JSP 1.2
Usages and Demos :

View More Examples of JspTagException(String msg,Throwable rootCause)
   1:             log(ls.getFormated(Constants.NO_SUCH_OBJECT, cond));
   2:             throw new JspTagException(ls.getFormated(Constants.NO_SUCH_OBJECT, cond));            
   3:         }
   4:         
   5:         if(cond.booleanValue()) {

View Full Code Here
   1:             log(ls.getFormated(Constants.CLASS_NOT_FOUND, dbdriver));
   2:             throw new JspTagException(ls.getFormated(Constants.CLASS_NOT_FOUND, dbdriver));
   3:         } catch(InstantiationException ie) {
   4:         ...
   5:             log(ls.getFormated(Constants.CAN_NOT_INSTANTIATE, dbdriver));
   6:             throw new JspTagException(ls.getFormated(Constants.CAN_NOT_INSTANTIATE, dbdriver));
   7:         } catch(IllegalAccessException eae) {
   8:         ...
   9:             log(ls.getFormated(Constants.ILLEGAL_ACCESS, dbdriver));
  10:             throw new JspTagException(ls.getFormated(Constants.ILLEGAL_ACCESS, dbdriver));
  11:         }

View Full Code Here
   1:             log(ls.getFormated(Constants.URL_WAS_NOT_PROVIDED, id));
   2:             throw new JspTagException(ls.getFormated(Constants.URL_WAS_NOT_PROVIDED, id));
   3:         }        
   4:         ...
   5:             log(ls.getFormated(Constants.NAME_NOT_FOUND, dburl));
   6:             throw new JspTagException(ls.getFormated(Constants.NAME_NOT_FOUND, dburl));
   7:         }
   8:     }
   9: }

View Full Code Here
   1:             log(ls.getFormated(Constants.NO_SUCH_OBJECT, name));
   2:             throw new JspTagException(ls.getFormated(Constants.NO_SUCH_OBJECT, name));
   3:         }
   4:         ...
   5:         log(ls.getFormated(Constants.NO_SUCH_SCOPE, scope));
   6:         throw new JspTagException(ls.getFormated(Constants.NO_SUCH_SCOPE, scope));
   7:     }
   8: }

View Full Code Here
   1:                 log(ls.getFormated(Constants.NO_SUCH_PROPERTY, property));
   2:                 throw new JspTagException(ls.getFormated(Constants.NO_SUCH_PROPERTY, property));
   3:             }
   4:         ...
   5:                 iae);
   6:             throw new JspTagException(ls.getFormated(Constants.ILLEGAL_METHOD_ACCESS, property));
   7:         }                
   8:     }   
   9:     

View Full Code Here

JspTagException

public JspTagException(Throwable rootCause)
Create a JspException with a root cause.
Parameters:
rootCause - the underlying exception.
Since:
JSP 1.2
Usages and Demos :

View More Examples of JspTagException(Throwable rootCause)
   1:         } catch (IOException e) {
   2:             throw new JspTagException("" + e);
   3:         }
   4:         return SKIP_BODY;
   5:     }

View Full Code Here
   1:     }
   2:     catch (Exception ex) { throw new JspTagException("Fehler " + ex); }
   3:   }
   4: }

View Full Code Here
   1:     }
   2:     catch (Exception ex) { throw new JspTagException("Fehler " + ex); }
   3:   }
   4: }

View Full Code Here
   1:         } catch (IOException e) {
   2:             throw new JspTagException("" + e);
   3:         }
   4:         return SKIP_BODY;
   5:     }

View Full Code Here
   1:     }
   2:     catch (Exception ex) { throw new JspTagException("Fehler " + ex); }
   3:   }
   4: }

View Full Code Here