jet.cs
Class CanceledException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by jet.JException
              extended by jet.JCException
                  extended by jet.cs.CanceledException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ParamCanceledException

public class CanceledException
extends jet.JCException

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class jet.JException
jet.JException.LogLevel
 
Constructor Summary
CanceledException(int msgKey)
          Constructs a new CanceledException with the specified index message.
CanceledException(int msgKey, java.lang.Object[] params, java.lang.Throwable cause)
          Constructs a new CanceledException with the specified message Key and cause.
CanceledException(int msgKey, java.lang.Throwable cause)
          Constructs a new CanceledException with the specified index message and cause.
CanceledException(java.lang.String message)
          Constructs a new CanceledException with the detail message.
CanceledException(java.lang.String message, java.lang.Object source)
          Constructs a new CanceledException with the message and the source that throws this exception.
CanceledException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new CanceledException with the specified detail message and cause.
 
Method Summary
 java.lang.Object getSource()
          Returns the source that throws this exception.
 
Methods inherited from class jet.JCException
getErrorKey
 
Methods inherited from class jet.JException
getMessages, getThrowables, logTrace
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CanceledException

public CanceledException(java.lang.String message,
                         java.lang.Object source)
Constructs a new CanceledException with the message and the source that throws this exception.

Parameters:
message - The message.
source - The source that throws this exception. Normally the source is a login dialog box or a parameter dialog box.

CanceledException

public CanceledException(int msgKey,
                         java.lang.Object[] params,
                         java.lang.Throwable cause)
Constructs a new CanceledException with the specified message Key and cause.

Parameters:
msgKey - The message key in strJError, which is for finding the message and will be logged and shown to the user.
params - The parameters used for formatting the message string, and it can be null.
cause - The cause (which is saved for later retrieval by the getCause).

CanceledException

public CanceledException(int msgKey,
                         java.lang.Throwable cause)
Constructs a new CanceledException with the specified index message and cause.

Parameters:
msgKey - The message key in StrJError, which is for finding the message and will be logged and shown to the user.
cause - The cause (which is saved for later retrieval by the getCause).

CanceledException

public CanceledException(int msgKey)
Constructs a new CanceledException with the specified index message.

Parameters:
msgKey - The message key in strJError, which is for finding the message and will be logged and shown to the user.

CanceledException

public CanceledException(java.lang.String message,
                         java.lang.Throwable cause)
Constructs a new CanceledException with the specified detail message and cause.

Parameters:
message - The detail message, which will be logged and shown to the user.
cause - The cause (which is saved for later retrieval by the getCause).

CanceledException

public CanceledException(java.lang.String message)
Constructs a new CanceledException with the detail message.

Parameters:
message - The detail message, which will be logged and shown to the user.
Method Detail

getSource

public java.lang.Object getSource()
Returns the source that throws this exception.

Returns:
the source that throws this exception. Normally the source is a login dialog box or a parameter dialog box.