public class ErrorEvent extends FMapEventBase
ErrorEvent
stores all necessary information of an error produced on a layer.
FMapEvent
Constructor and Description |
---|
ErrorEvent(java.lang.String message,
java.lang.Exception e)
Constructs an
ErrorEvent with the specified, detailed message as extra information, and the exception thrown. |
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Gets the
Exception associated to the error produced. |
java.lang.String |
getMessage()
Gets detailed message with extra information.
|
getEventType, setEventType
public ErrorEvent(java.lang.String message, java.lang.Exception e)
Constructs an ErrorEvent
with the specified, detailed message as extra information, and the exception thrown.
message
- detailed error informatione
- the exception thrown when the error was producedpublic java.lang.Exception getException()
Gets the Exception
associated to the error produced.
public java.lang.String getMessage()
Gets detailed message with extra information.