org.apache.camel.component.file
Class GenericFileOperationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
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:
- See Also:
- Serialized Form
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 |
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)
getCode
public int getCode()
- Return the file failure code (if any)
getReason
public String getReason()
- Return the file failure reason (if any)
Apache CAMEL