Package org.apache.camel.attachment
Class NoSuchAttachmentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.CamelExchangeException
org.apache.camel.attachment.NoSuchAttachmentException
- All Implemented Interfaces:
Serializable
public class NoSuchAttachmentException
extends org.apache.camel.CamelExchangeException
An exception caused when a mandatory attachment is not available on a message
Exchange- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNoSuchAttachmentException(org.apache.camel.Exchange exchange, String attachmentName) NoSuchAttachmentException(org.apache.camel.Exchange exchange, String attachmentName, Class<?> type) -
Method Summary
Methods inherited from class org.apache.camel.CamelExchangeException
createExceptionMessage, getExchangeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoSuchAttachmentException
-
NoSuchAttachmentException
-
-
Method Details
-
getAttachmentName
-
getType
-
reason
-