Class PanelBaseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gvsig.tools.exception.BaseException
org.gvsig.gui.beans.panelGroup.exceptions.PanelBaseException
All Implemented Interfaces:
Serializable, org.gvsig.tools.exception.IBaseException

public class PanelBaseException extends org.gvsig.tools.exception.BaseException

Adapts any Java exception produced working with panels to be dealed in as a BaseException.

Version:
11/12/2007
Author:
Pablo Piqueras Bartolomé (pablo.piqueras@iver.es)
See Also:
  • Field Details

  • Constructor Details

    • PanelBaseException

      public PanelBaseException()

      Creates and initializes a new instance of PanelBaseException.

    • PanelBaseException

      public PanelBaseException(Exception e)

      Creates and initializes a new instance of PanelBaseException.

      Parameters:
      e - the exception to be wrappered
    • PanelBaseException

      public PanelBaseException(Exception e, String panelLabel)

      Creates and initializes a new instance of PanelBaseException.

      Parameters:
      e - the exception to be wrappered
      panelLabel - label of the panel which is the source of the exception wrappered
  • Method Details

    • values

      protected Map<String,String> values()
      Overrides:
      values in class org.gvsig.tools.exception.BaseException
    • initialize

      protected void initialize()

      Initializes a PanelBaseException with the needed information.

    • getPanelLabel

      public String getPanelLabel()

      Gets the label of the panel which is the source of this exception, or null if hasn't been defined.

      Returns:
      label of the panel which is the source of this exception
    • setPanelLabel

      public void setPanelLabel(String panelLabel)

      Sets the label of the panel which is the source of this exception.

      Parameters:
      panelLabel - label of the panel which is the source of this exception
    • initCause

      public Throwable initCause(Throwable cause)
      Overrides:
      initCause in class Throwable