Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jdesktop.swingx.error
Class ErrorEvent

    java.lang.Object
      java.util.EventObject
          org.jdesktop.swingx.error.ErrorEvent

All Implemented Interfaces:
  java.io.Serializable

    public class ErrorEvent

extends java.util.EventObject

Defines an event which encapsulates an error which occurred in a JX Swing component which supports ErrorListeners.

Author:
  Joshua Marinacci joshua.marinacci@sun.com
See Also:
  `ErrorListener`, `ErrorSupport`, Serialized Form

Field Summary

Fields inherited from class java.util.EventObject
`source`

Constructor Summary
`ErrorEvent(java.lang.Throwable throwable, java.lang.Object source)` Creates a new instance of `ErrorEvent`

Method Summary
`java.lang.Throwable` | `getThrowable()` Gets the Error or Exception which occurred.

Methods inherited from class java.util.EventObject
`getSource, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ErrorEvent

    public ErrorEvent(java.lang.Throwable throwable,
                      java.lang.Object source)

  Creates a new instance of `ErrorEvent`

  Parameters:
    `throwable` - The Error or Exception which occurred.
    `source` - The object which threw the Error or Exception

Method Detail

### getThrowable

    public java.lang.Throwable getThrowable()

  Gets the Error or Exception which occurred.

  Returns:
    The Error or Exception which occurred.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010. All Rights Reserved.