com.powsybl.ws.commons.computation.utils.annotations.PostCompletionAnnotationAspect Maven / Gradle / Ivy
/**
* Copyright (c) 2023, RTE (http://www.rte-france.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package com.powsybl.ws.commons.computation.utils.annotations;
import lombok.AllArgsConstructor;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;
/**
* @author Anis Touri {
try {
pjp.proceed(pjp.getArgs());
} catch (Throwable e) {
throw new PostCompletionException(e);
}
});
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy