Class WizardValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openide.WizardValidationException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionWizardValidationException
(JComponent source, String message, String localizedMessage) Creates a new exception instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WizardValidationException
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
-
-
Method Details
-
getSource
- Returns:
- JComponent for request focus to correct wrong values or null if there is no useful component to focus it
-
getLocalizedMessage
- Overrides:
getLocalizedMessage
in classThrowable
- Returns:
- description will notifies an user what value must be corrected
-