obtain

public static ErrorEvent<E> obtain<E>(E error, String message)

Creates an error event.

Return

the error event

Parameters

error

the error

message

the error message

<E>

the error type


public static ErrorEvent<E> obtain<E>(E error)

Creates an error event.

Return

the error event

Parameters

error

the error

<E>

the error type