Class GpadParmException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--GpadParmException
- All Implemented Interfaces:
- java.io.Serializable
- public class GpadParmException
- extends java.lang.Exception
A GpadParmException
signals that a GraphicPad component
has encountered problems trying to retrieve parameter values.
- Version:
- 1.19.1
- Author:
- Joseph E. Dever
- See Also:
GpadException
,
Exception
, Serialized Form
Constructor Summary |
GpadParmException(java.lang.String parmName)
Creates a GpadParmException for the parameter with the
specified name. |
Method Summary |
void |
showMessage()
Displays an informational message with a JOptionPane popup
dialog. |
void |
showMessage(java.lang.String s)
Displays an informational message with a JOptionPane popup
dialog and a custom message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GpadParmException
public GpadParmException(java.lang.String parmName)
- Creates a
GpadParmException
for the parameter with the
specified name.
showMessage
public void showMessage()
- Displays an informational message with a
JOptionPane
popup
dialog. The default message will be shown, which alerts the user that the
named parameter has not been supplied with a value.
showMessage
public void showMessage(java.lang.String s)
- Displays an informational message with a
JOptionPane
popup
dialog and a custom message. If the argument string equals default,
the default message will be shown.
- Parameters:
s
- the informational message