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 Summary
FieldsFields inherited from class org.gvsig.tools.exception.BaseException
code, formatString, messageKey -
Constructor Summary
ConstructorsConstructorDescriptionCreates and initializes a new instance ofPanelBaseException.Creates and initializes a new instance ofPanelBaseException.PanelBaseException(Exception e, String panelLabel) Creates and initializes a new instance ofPanelBaseException. -
Method Summary
Modifier and TypeMethodDescriptionGets the label of the panel which is the source of this exception, ornullif hasn't been defined.protected voidInitializes aPanelBaseExceptionwith the needed information.voidsetPanelLabel(String panelLabel) Sets the label of the panel which is the source of this exception.values()Methods inherited from class org.gvsig.tools.exception.BaseException
containsCause, getCode, getFormatString, getHTMLMessageStack, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageStack, getLocalizedMessageStack, getMessage, getMessage, getMessageKey, getMessageStack, getMessageStack, getMessageStack, getValue, iterator, setCode, setFormatString, setMessageKey, setTranslator, setTranslator, setValueMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
values
-
PANEL_LABEL
- See Also:
-
CAUSE_MESSAGE
- See Also:
-
-
Constructor Details
-
PanelBaseException
public PanelBaseException()Creates and initializes a new instance of
PanelBaseException. -
PanelBaseException
Creates and initializes a new instance of
PanelBaseException.- Parameters:
e- the exception to be wrappered
-
PanelBaseException
Creates and initializes a new instance of
PanelBaseException.- Parameters:
e- the exception to be wrapperedpanelLabel- label of the panel which is the source of the exception wrappered
-
-
Method Details
-
values
- Overrides:
valuesin classorg.gvsig.tools.exception.BaseException
-
initialize
protected void initialize()Initializes a
PanelBaseExceptionwith the needed information. -
getPanelLabel
Gets the label of the panel which is the source of this exception, or
nullif hasn't been defined.- Returns:
- label of the panel which is the source of this exception
-
setPanelLabel
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
-