|
jacquard 1.12.0 by The Web Engineering Factory and Toolworks | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.weft.htform.ResourceConsumerImpl
uk.co.weft.exceptionhandler.JustWhingeExceptionHandler
uk.co.weft.exceptionhandler.BugzillaExceptionHandler
An exception handler which generates a form already prefilled with a Bugzilla bug report. This class, and consequently any subclasses, knows about the following initialisation parameters:
| Field Summary | |
protected boolean |
debug
whether or not my servlet is in debug mode |
protected java.lang.String |
enterBugURL
The URL of enter_bug.cgi of the Bugzilla I talk to |
static java.lang.String |
ENTERBUGURLCONFIGTOKEN
a token on which I shall look for the value of enterBugURL in my configuration and resources |
protected java.lang.String |
password
experimental: the bugzilla password to log in with |
static java.lang.String |
PASSWORDCONFIGTOKEN
a token on which I shall look for my product version in my configuration and resources |
protected java.lang.String |
product
The product name of the product I am, as known to that Bugzilla |
static java.lang.String |
PRODUCTNAMECONFIGTOKEN
a token on which I shall look for my product name in my configuration and resources |
static java.lang.String |
PRODUCTVERSIONCONFIGTOKEN
a token on which I shall look for my product version in my configuration and resources |
protected java.lang.String |
username
experimental: the bugzilla username to login with |
static java.lang.String |
USERNAMECONFIGTOKEN
a token on which I shall look for my bugzilla username in my configuration and resources |
protected java.lang.String |
version
The product version of the product I am, as known to that Bugzilla |
| Fields inherited from class uk.co.weft.htform.ResourceConsumerImpl |
resourceBundleName |
| Fields inherited from interface uk.co.weft.htform.ResourceConsumer |
RESOURCEBUNDLEMAGICTOKEN |
| Constructor Summary | |
BugzillaExceptionHandler()
|
|
| Method Summary | |
void |
init(Context config)
Locate all the information I need to communicate with the relevent Bugzilla |
void |
whinge(javax.servlet.ServletOutputStream out,
java.lang.Exception e,
Context context)
output a form which invites the user to send a bug report to my bugzilla |
| Methods inherited from class uk.co.weft.exceptionhandler.JustWhingeExceptionHandler |
printLabel, printWidget, printWidget |
| Methods inherited from class uk.co.weft.htform.ResourceConsumerImpl |
getContextOrResource, getResource, getResourceOrContext, getResourceString, grs, grs |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String ENTERBUGURLCONFIGTOKEN
public static final java.lang.String PRODUCTNAMECONFIGTOKEN
public static final java.lang.String PRODUCTVERSIONCONFIGTOKEN
public static final java.lang.String USERNAMECONFIGTOKEN
public static final java.lang.String PASSWORDCONFIGTOKEN
protected java.lang.String enterBugURL
protected java.lang.String password
protected java.lang.String product
protected java.lang.String username
protected java.lang.String version
protected boolean debug
| Constructor Detail |
public BugzillaExceptionHandler()
| Method Detail |
public void init(Context config)
throws InitialisationException
init in interface ExceptionHandlerinit in class JustWhingeExceptionHandlerInitialisationException
public void whinge(javax.servlet.ServletOutputStream out,
java.lang.Exception e,
Context context)
throws javax.servlet.ServletException
whinge in interface ExceptionHandlerwhinge in class JustWhingeExceptionHandlerjavax.servlet.ServletException
|
jacquard 1.12.0 by The Web Engineering Factory and Toolworks | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||