Secure iNet Factory

com.jscape.filetransfer
Class FileTransferException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.jscape.filetransfer.FileTransferException
All Implemented Interfaces:
java.io.Serializable

public class FileTransferException
extends java.lang.Exception

FileTransferException is thrown by many methods of FileTransfer classes. The methods are masking various exception types into FileTransferException, but the event message will be propagated.

In case that the cause for throwing FileTransferException is not exception but invalid client operation or server response, FileTransferException message will contain textual part of server response.

See Also:
Serialized Form

Constructor Summary
FileTransferException(java.lang.String msg)
          Creates exception with specified message string.
FileTransferException(java.lang.String msg, java.lang.Throwable exception)
          Creates exception with specified message string and source exception.
FileTransferException(java.lang.Throwable exception)
          Constructor .
 
Method Summary
 java.lang.Throwable getException()
          Gets source of this exception.
static FileTransferException wrap(java.lang.Throwable e)
           
 
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

FileTransferException

public FileTransferException(java.lang.String msg)
Creates exception with specified message string.

Parameters:
msg - the message of exception

FileTransferException

public FileTransferException(java.lang.String msg,
                             java.lang.Throwable exception)
Creates exception with specified message string and source exception.

Parameters:
msg - the message of exception
exception - the exception which caused this exception

FileTransferException

public FileTransferException(java.lang.Throwable exception)
Constructor .

Parameters:
exception - - Exception
Method Detail

wrap

public static FileTransferException wrap(java.lang.Throwable e)

getException

public java.lang.Throwable getException()
Gets source of this exception.

Returns:
the source of this exception

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved