| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.virtuosotechnologies.lib.error.StackTraceExceptionFormatter
Exception formatter that creates full stack traces. This uses two templates, both MessageFormat patterns.
The exception template accepts the following parameters:
The stack trace element template accepts the following parameters:
This class is fully synchronized and thread-safe.
| Constructor Summary | |
StackTraceExceptionFormatter()
Construct a formatter using the default templates  | 
|
| Method Summary | |
 String | 
format(Throwable ex,
       PropertySet properties)
Generate a String representation of the given exception.  | 
 void | 
setExceptionTemplate(String template)
Set the template for exceptions  | 
 void | 
setStackTraceElementTemplate(String template)
Set the template for stack trace elements  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public StackTraceExceptionFormatter()
| Method Detail | 
public void setExceptionTemplate(String template)
template - new template Stringpublic void setStackTraceElementTemplate(String template)
template - new template String
public String format(Throwable ex,
                     PropertySet properties)
format in interface ExceptionFormatterex - throwableproperties - formatter-specific properties.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||