IO
Class UserCancelException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--IO.UserCancelException
All Implemented Interfaces:
java.io.Serializable

public class UserCancelException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
UserCancelException()
          Creates a new instance of UserCancelException without detail message.
UserCancelException(java.lang.String msg)
          Constructs an instance of UserCancelException with the specified detail message.
UserCancelException(java.lang.String msg, java.lang.String called)
          Constructs an instance of UserCancelException with the specified detail message.
UserCancelException(java.lang.String msg, java.lang.String called, java.lang.String promptQ)
          Constructs an instance of UserCancelException with the specified detail message.
UserCancelException(java.lang.String msg, java.lang.String called, java.lang.String promptQ, double low, double high)
          Constructs an instance of UserCancelException with the specified detail message.
 
Method Summary
 double getMax()
          To obtain the high value on the range that user canceled from
 java.lang.String getMethod()
          To obtain the method that user canceled from
 double getMin()
          To obtain the low value on the range that user canceled from
 java.lang.String getPrompt()
          To obtain the prompt that user canceled from
 java.lang.String toString()
          Show the exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserCancelException

public UserCancelException()
Creates a new instance of UserCancelException without detail message.


UserCancelException

public UserCancelException(java.lang.String msg)
Constructs an instance of UserCancelException with the specified detail message.

Parameters:
msg - the detail message.

UserCancelException

public UserCancelException(java.lang.String msg,
                           java.lang.String called)
Constructs an instance of UserCancelException with the specified detail message.

Parameters:
msg - the detail message.

UserCancelException

public UserCancelException(java.lang.String msg,
                           java.lang.String called,
                           java.lang.String promptQ)
Constructs an instance of UserCancelException with the specified detail message.

Parameters:
msg - the detail message.

UserCancelException

public UserCancelException(java.lang.String msg,
                           java.lang.String called,
                           java.lang.String promptQ,
                           double low,
                           double high)
Constructs an instance of UserCancelException with the specified detail message.

Parameters:
msg - the detail message.
Method Detail

getMethod

public java.lang.String getMethod()
To obtain the method that user canceled from


getPrompt

public java.lang.String getPrompt()
To obtain the prompt that user canceled from


getMin

public double getMin()
To obtain the low value on the range that user canceled from


getMax

public double getMax()
To obtain the high value on the range that user canceled from


toString

public java.lang.String toString()
Show the exception

Overrides:
toString in class java.lang.Throwable