|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Tracer
Permission to produce stack traces.
Method Summary | |
---|---|
java.lang.String |
readException(java.lang.Throwable e)
Gets the text message from an exception. |
long |
timestamp()
Gets the current timestamp. |
Trace |
traceException(java.lang.Throwable e)
Gets the stack trace for a given exception. |
Trace |
traceHere()
Gets the current stack trace. |
Trace |
traceMember(java.lang.reflect.Member lambda)
Produces a dummy stack trace for a method. |
Method Detail |
---|
long timestamp()
java.lang.String readException(java.lang.Throwable e)
e
- exception to extract message fromTrace traceException(java.lang.Throwable e)
e
- exception to traceTrace traceMember(java.lang.reflect.Member lambda)
lambda
- sole member of the dummy stack traceTrace traceHere()
|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.