|
JIVE Platform Release 0.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.buffalo.cse.jive.ui.search.queries.ExceptionCaughtSearchQuery.ExceptionEventExporter
protected class ExceptionCaughtSearchQuery.ExceptionEventExporter
An exporter used to examine ExceptionEvent
s and to determine if
the event is and exception caught by a JiveSearchPattern
and
exception name.
Field Summary | |
---|---|
protected String |
className
The fully-qualified class name of the exception catcher. |
protected Value |
exceptionValue
The exception that was caught. |
protected String |
instanceNumber
The instance number of the class of the exception catcher |
protected String |
methodName
The method name where the exception was caught. |
Constructor Summary | |
---|---|
protected |
ExceptionCaughtSearchQuery.ExceptionEventExporter()
|
Method Summary | |
---|---|
void |
addCatcher(ContourID catcher)
Adds the catcher of the exception. |
void |
addException(Value exception)
Adds the exception that was caught. |
void |
addNumber(long n)
Get the sequence number of this event. |
void |
addThreadID(ThreadID thread)
Adds the thread on which this event took place. |
void |
addVariable(VariableID v)
Adds the variable identifier holding the exception that was caught. |
boolean |
checkForMatch()
Returns whether the exception catcher matches the JiveSearchPattern and the exception caught starts with the
exception name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String className
protected String instanceNumber
protected String methodName
protected Value exceptionValue
Constructor Detail |
---|
protected ExceptionCaughtSearchQuery.ExceptionEventExporter()
Method Detail |
---|
public void addCatcher(ContourID catcher)
ExceptionEvent.Exporter
ExceptionEvent#export(Exporter)
.
addCatcher
in interface ExceptionEvent.Exporter
catcher
- the catcherpublic void addException(Value exception)
ExceptionEvent.Exporter
ExceptionEvent#export(Exporter)
.
addException
in interface ExceptionEvent.Exporter
exception
- the exceptionpublic void addVariable(VariableID v)
ExceptionEvent.Exporter
ExceptionEvent#export(Exporter)
.
addVariable
in interface ExceptionEvent.Exporter
v
- the variable identifierpublic void addNumber(long n)
Event.Exporter
addNumber
in interface Event.Exporter
n
- the event numberpublic void addThreadID(ThreadID thread)
Event.Exporter
addThreadID
in interface Event.Exporter
thread
- the thread identifierpublic boolean checkForMatch()
JiveSearchPattern
and the exception caught starts with the
exception name.
true
if the assignment can be associated with the pattern,
false
otherwise
|
JIVE Platform Release 0.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |