Holger's
Java API

com.antelmann.util.gui
Class FormValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.antelmann.util.gui.FormValidationException
All Implemented Interfaces:
Serializable

public class FormValidationException
extends Exception

indicates a problem during a form validation

Author:
Holger Antelmann
See Also:
FormDialog, Serialized Form

Constructor Summary
FormValidationException(JComponent form, String message, JComponent errorComponent)
           
 
Method Summary
 JComponent getErrorComponent()
          the component that needs focus after a message is displayed
 JComponent getForm()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormValidationException

public FormValidationException(JComponent form,
                               String message,
                               JComponent errorComponent)
Method Detail

getForm

public JComponent getForm()

getErrorComponent

public JComponent getErrorComponent()
the component that needs focus after a message is displayed



(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads