All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.devonfw.cobigen.api.annotation.ExceptionFacade Maven / Gradle / Ivy

The newest version!
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 - 2024 Weber Informatics LLC | Privacy Policy