public class PanelWithNoPreferredSizeDefinedException extends BaseException
If an object of type IPanelGroup tries to load a panel that its preferred sized
hasn't been initialized, (not the default preferred size), then an exception of this kind will be
launched.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PANEL_LABEL |
protected java.util.HashMap<java.lang.String,java.lang.String> |
values |
code, formatString, messageKey| Constructor and Description |
|---|
PanelWithNoPreferredSizeDefinedException()
Creates an initializes a new instance of
PanelWithNoPreferredSizedDefinedException. |
PanelWithNoPreferredSizeDefinedException(java.lang.String panelLabel)
Creates an initializes a new instance of
PanelWithNoPreferredSizedDefinedException. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPanelLabel()
Gets the label of the panel which is the source of this exception, or
null if hasn't been defined. |
protected void |
initialize()
Initializes a
PanelBaseException with the needed information. |
void |
setPanelLabel(java.lang.String panelLabel)
Sets the label of the panel which is the source of this exception.
|
protected java.util.Map<java.lang.String,java.lang.String> |
values() |
containsCause, getCode, getFormatString, getHTMLMessageStack, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageStack, getLocalizedMessageStack, getMessage, getMessage, getMessageKey, getMessageStack, getMessageStack, getMessageStack, getValue, iterator, setCode, setFormatString, setMessageKey, setTranslator, setTranslator, setValueprotected java.util.HashMap<java.lang.String,java.lang.String> values
public static final java.lang.String PANEL_LABEL
public PanelWithNoPreferredSizeDefinedException()
Creates an initializes a new instance of PanelWithNoPreferredSizedDefinedException.
public PanelWithNoPreferredSizeDefinedException(java.lang.String panelLabel)
Creates an initializes a new instance of PanelWithNoPreferredSizedDefinedException.
panelLabel - label of the panel which is the source of this exceptionprotected void initialize()
Initializes a PanelBaseException with the needed information.
protected java.util.Map<java.lang.String,java.lang.String> values()
values in class BaseExceptionpublic java.lang.String getPanelLabel()
Gets the label of the panel which is the source of this exception, or
null if hasn't been defined.
public void setPanelLabel(java.lang.String panelLabel)
Sets the label of the panel which is the source of this exception.
panelLabel - label of the panel which is the source of this exception