com.devonfw.cobigen.api.annotation.ExceptionFacade Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core-api Show documentation
Show all versions of core-api Show documentation
A Code-based incremental Generator
package com.devonfw.cobigen.api.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.devonfw.cobigen.api.exception.CobiGenRuntimeException;
/**
* This annotations wraps each return value with a try catch block forwarding exceptions of type
* {@link CobiGenRuntimeException} and wrapping any other exception into a {@link CobiGenRuntimeException}.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.TYPE })
@Inherited
public @interface ExceptionFacade {
}