Class ErrorEvent

java.lang.Object
org.gvsig.fmap.mapcontext.events.FMapEventBase
org.gvsig.fmap.mapcontext.events.ErrorEvent
All Implemented Interfaces:
FMapEvent

public class ErrorEvent extends FMapEventBase

ErrorEvent stores all necessary information of an error produced on a layer.

Author:
jaume
See Also:
  • Constructor Details

    • ErrorEvent

      public ErrorEvent(String message, Exception e)

      Constructs an ErrorEvent with the specified, detailed message as extra information, and the exception thrown.

      Parameters:
      message - detailed error information
      e - the exception thrown when the error was produced
  • Method Details

    • getException

      public Exception getException()

      Gets the Exception associated to the error produced.

      Returns:
      the exception thrown when the error was produced
    • getMessage

      public String getMessage()

      Gets detailed message with extra information.

      Returns:
      the detail message with extra information