|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.opensolaris.os.dtrace.ErrorEvent
public class ErrorEvent
Notification that DTrace has encountered an error.
ConsumerListener.errorEncountered(ErrorEvent e)
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ErrorEvent(java.lang.Object source,
Error dtraceError)
Creates an errorEncountered() event that reports an error encountered in
the native DTrace library during tracing. |
Method Summary | |
---|---|
Error |
getError()
Gets the error reported by DTrace. |
java.lang.String |
toString()
Gets a string representation of this event useful for logging and not intended for display. |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ErrorEvent(java.lang.Object source, Error dtraceError)
errorEncountered()
event that reports an error encountered in
the native DTrace library during tracing.
source
- the Consumer
that is the source of this eventdtraceError
- the error encountered by DTrace
java.lang.NullPointerException
- if the given error is null
Method Detail |
---|
public Error getError()
public java.lang.String toString()
class-name[property1 = value1, property2 = value2]
toString
in class java.util.EventObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |