Class CancelException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--CancelException

public class CancelException
extends java.lang.Exception

This exception is thrown when when file dialog boxes such as open or save, are cancelled. This way the method expecting a string knows that nothing was chosen.

See Also:
Serialized Form

Constructor Summary
(package private) CancelException()
          Default constructor - makes an exception with no description
(package private) CancelException(java.lang.String s)
          Constructor that makes an exception with an associated description
 
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
 

Constructor Detail

CancelException

CancelException()
Default constructor - makes an exception with no description

CancelException

CancelException(java.lang.String s)
Constructor that makes an exception with an associated description
Parameters:
s - the exception's description