org.apache.camel.component.file
Class GenericFileOperationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.camel.RuntimeCamelException
                  extended by org.apache.camel.component.file.GenericFileOperationFailedException
All Implemented Interfaces:
Serializable

public class GenericFileOperationFailedException
extends RuntimeCamelException

Exception thrown in case of last file operation failed.

Version:
$Revision: 16361 $
See Also:
Serialized Form

Constructor Summary
GenericFileOperationFailedException(int code, String reason)
           
GenericFileOperationFailedException(int code, String reason, String message)
           
GenericFileOperationFailedException(int code, String reason, String message, Throwable cause)
           
GenericFileOperationFailedException(int code, String reason, Throwable cause)
           
GenericFileOperationFailedException(String message)
           
GenericFileOperationFailedException(String message, Throwable cause)
           
 
Method Summary
 int getCode()
          Return the file failure code (if any)
 String getReason()
          Return the file failure reason (if any)
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericFileOperationFailedException

public GenericFileOperationFailedException(String message)

GenericFileOperationFailedException

public GenericFileOperationFailedException(String message,
                                           Throwable cause)

GenericFileOperationFailedException

public GenericFileOperationFailedException(int code,
                                           String reason)

GenericFileOperationFailedException

public GenericFileOperationFailedException(int code,
                                           String reason,
                                           Throwable cause)

GenericFileOperationFailedException

public GenericFileOperationFailedException(int code,
                                           String reason,
                                           String message)

GenericFileOperationFailedException

public GenericFileOperationFailedException(int code,
                                           String reason,
                                           String message,
                                           Throwable cause)
Method Detail

getCode

public int getCode()
Return the file failure code (if any)


getReason

public String getReason()
Return the file failure reason (if any)



Apache CAMEL