borland Packages Class Hierarchy jb.util Package
VetoException component
java.lang.Object
+----java.lang.Throwable
+----java.lang.Exception
+----com.borland.jb.util.VetoException
About the VetoException component
Constructors Properties Methods
Implements Serializable
A VetoException object is thrown when an EventListener wishes to halt the multicasting of a vetoable event.
See also: com.borland.jb.util.EventMulticaster, com.borland.jb.util.VetoableDispatch
VetoException constructors
VetoException properties
*Read-only properties **Write-only properties
Properties implemented in this class
Properties implemented in java.lang.Object
Properties implemented in java.lang.Throwable
- localizedMessage*
- message*
VetoException methods
Methods implemented in java.lang.Object
- clone()
- equals(java.lang.Object)
- finalize()
- hashCode()
- notify()
- notifyAll()
- wait()
- wait(long)
- wait(long, int)
Methods implemented in java.lang.Throwable
- fillInStackTrace()
- printStackTrace()
- printStackTrace(java.io.PrintStream)
- printStackTrace(java.io.PrintWriter)
- toString()
VetoException constructors
VetoException()
public VetoException()
Constructs an VetoException object with no detail message.
VetoException(java.lang.String)
public VetoException(String vetoMessage)
Provides the application the opportunity to pass a message for default error message handling. Many event processers will ignore the vetoMessage.
Parameters:
- vetoMessage
- A string containing the message for default error handling. A vetoMessage is not required.
VetoException properties
vetoMessage
public String getVetoMessage()
Returns the message used for default error handling.