# Class: com.pnfsoftware.jeb.core.events.ExceptionNotification

A special type of [ClientNotification](ClientNotification), used to report \(forward\) exceptions or errors to the client\(s\).

## Constructor: ExceptionNotification
- parameter: `throwable`, type: `java.lang.Throwable`
- parameter: `message`, type: `java.lang.String`
- parameter: `flags`, type: `int`
- parameter: `extradata`, type: `java.util.Map<java.lang.String,java.lang.Object>`

Description: Create an error\-level notification embedding a stack trace.
parameter: throwable: exception being reported
parameter: message: optional message overriding the throwable message
parameter: flags: bitmask made of `FLAG_*` values
parameter: extradata: optional extra data forwarded to the client

## Constructor: ExceptionNotification
- parameter: `throwable`, type: `java.lang.Throwable`
- parameter: `message`, type: `java.lang.String`
- parameter: `flags`, type: `int`

Description: Create an exception notification.
parameter: throwable: exception being reported
parameter: message: optional message overriding the throwable message
parameter: flags: bitmask made of `FLAG_*` values

## Constructor: ExceptionNotification
- parameter: `throwable`, type: `java.lang.Throwable`
- parameter: `message`, type: `java.lang.String`

Description: Create an exception notification with no extra flags.
parameter: throwable: exception being reported
parameter: message: optional message overriding the throwable message

## Static Field: FLAG_DNUS
Type: `int`

Constant value: `4`
Description: Prevent sample upload when reporting the exception.

## Static Field: FLAG_FUPL
Type: `int`

Constant value: `2`
Description: Force the upload of the log when reporting the exception.

## Static Field: FLAG_SILT
Type: `int`

Constant value: `1`
Description: Suppress the client\-side display of the exception notification.

## Method: getExtraData
- return type: `java.util.Map<java.lang.String,java.lang.Object>`

Description: Get the extra data map forwarded with the notification.
return: the extra data map, or `null` if none was provided

## Method: getFlags
- return type: `int`

Description: Get the notification flags.
return: a bitmask made of `FLAG_*` values

## Method: getThrowable
- return type: `java.lang.Throwable`

Description: Get the reported throwable.
return: the throwable object

