@Target(value={METHOD,TYPE}) @Retention(value=SOURCE) public @interface OnException
OnException
the handler declared in this
annotation will be called immediately, passing to the @Handle
the thrown exception
The scope of this annotations corresponds to a module or method context.
When used in a method, this will handle exceptions occurred in this
processor only. If a module level handler is also declared, it will be the common handler for all the processors.
No fallback from the specific to the common handlers exists, the method level handler will override the
module level one.public abstract Class handler
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.