当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
WizardValidationException (NetBeans APIs) - NetBeans API Javadoc 4.1.0
org.openide
Class WizardValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openide.WizardValidationException
- All Implemented Interfaces:
- Serializable
- public final class WizardValidationException
- extends Exception
The exception informs about fail in wizard panel validation and provides
a localized description what's wrong. Also can return JComponent which should
be focused to correct wrong values.
- Since:
- 4.28
- See Also:
- Serialized Form
WizardValidationException
public WizardValidationException(JComponent source,
String message,
String localizedMessage)
- Creates a new exception instance.
- Parameters:
source
- component which should have focus to correct wrong valuesmessage
- the detail messagelocalizedMessage
- description notifies an user what value must be corrected
getSource
public JComponent getSource()
- Returns:
- JComponent for request focus to correct wrong values
or null if there is no useful component to focus it
getLocalizedMessage
public String getLocalizedMessage()
- Returns:
- description will notifies an user what value must be corrected