Package 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 org.apache.camel.RuntimeCamelException
Exception thrown in case of last file operation failed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
Return the file failure code (if any)String
getReason()
Return the file failure reason (if any)-
Methods inherited from class org.apache.camel.RuntimeCamelException
wrapRuntimeCamelException, wrapRuntimeException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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)
-
-
Method Detail
-
getCode
public int getCode()
Return the file failure code (if any)
-
getReason
public String getReason()
Return the file failure reason (if any)
-
-