public class TransferFailedException
extends java.lang.Exception
| Constructor and Description | 
|---|
TransferFailedException()
Creates an empty TransferFailedException. 
 | 
TransferFailedException(DBException dbe)
Deprecated. 
 
Use  
throwException(TransferState, DBException) because
 that will determine the correct type of transfer exception to throw. | 
TransferFailedException(java.lang.String message)
Creates a TransferFailedException based on the given message but no
 underlying cause 
 | 
TransferFailedException(java.lang.String message,
                       java.lang.Exception cause)
Deprecated. 
 
Use  
throwException(TransferState, String, Exception)
 because that will determine the correct type of transfer exception to
 throw. | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getMessage()  | 
static void | 
throwException(TransferState state,
              DBException ex)
Throws a TransferFailedException based on the given DBException. 
 | 
static void | 
throwException(TransferState state,
              java.lang.String message,
              java.lang.Exception ex)
Throws a TransferFailedException based on the given message and
 exception. 
 | 
public TransferFailedException()
TransferCancelledException.public TransferFailedException(java.lang.String message)
message - the message for this exception@Deprecated public TransferFailedException(DBException dbe)
throwException(TransferState, DBException) because
 that will determine the correct type of transfer exception to throw.@Deprecated
public TransferFailedException(java.lang.String message,
                                           java.lang.Exception cause)
throwException(TransferState, String, Exception)
 because that will determine the correct type of transfer exception to
 throw.public static void throwException(TransferState state, DBException ex) throws TransferFailedException
ex - the DBException. If this is a
 CancelledException object then a
 TransferCancelledException is thrown.TransferFailedException - the required exceptionpublic static void throwException(TransferState state, java.lang.String message, java.lang.Exception ex) throws TransferFailedException
message - the message for the exceptionex - the DBException. If this is a
 CancelledException object then a
 TransferCancelledException is thrown.TransferFailedException - the required exceptionpublic java.lang.String getMessage()
getMessage in class java.lang.Throwable