org.mule.api.annotations.rest
Annotation Type RestExceptionOn


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface RestExceptionOn


Optional Element Summary
 Class<? extends RuntimeException> exception
           
 String expression
           
 

expression

public abstract String expression
Default:
""

exception

public abstract Class<? extends RuntimeException> exception
Default:
java.lang.RuntimeException.class


Copyright © 2010–2013 MuleSoft, Inc.. All rights reserved.