Package org.jboss.logging.annotations
Annotation Type ConstructType
-
@Retention(CLASS) @Target(METHOD) @Documented public @interface ConstructTypeIndicates the value of this annotation should be constructed and returned. This does not change the return type of the method.This annotation is only allowed on bundle messages that have a throwable return type. The value must be assignable to the return type.
- Since:
- 2.0.0
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends java.lang.Throwable>valueThe actual type that should be constructed for the return type.
-