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

## org.openide
Interface ErrorManager.Annotation

Enclosing class:
  ErrorManager

    public static interface ErrorManager.Annotation

Annotation that can be attached to an error.

Method Summary
`Date` | `getDate()` Time at which the exception occurred.
`String` | `getLocalizedMessage()` Localized message.
`String` | `getMessage()` Non-localized message.
`int` | `getSeverity()` Severity of the exception.
`Throwable` | `getStackTrace()` Stack trace.

Method Detail

### getMessage

    String getMessage()

  Non-localized message.

  Returns:
    associated message or `null`

### getLocalizedMessage

    String getLocalizedMessage()

  Localized message.

  Returns:
    message to be presented to the user or `null`

### getStackTrace

    Throwable getStackTrace()

  Stack trace. The stack trace should locate the method and position in the method where the error occurred.

  Returns:
    exception representing the location of the error or `null`

### getDate

    Date getDate()

  Time at which the exception occurred.

  Returns:
    the time or `null`

### getSeverity

    int getSeverity()

  Severity of the exception. `ErrorManager.UNKNOWN` serves as the default.

  Returns:
    number representing the severity, e.g. `ErrorManager.EXCEPTION`

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

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.