@Retention(value=CLASS)
@Target(value=METHOD)
@Documented
public @interface ConstructType
This annotation is only allowed on bundle messages that have a throwable return type. The value must be assignable to the return type.
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<? extends java.lang.Throwable> |
value
The actual type that should be constructed for the return type.
|