
com.devonfw.cobigen.api.annotation.ExceptionFacade Maven / Gradle / Ivy
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 {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy