Class DirectoryExceptionsManagementAspect
java.lang.Object
net.andresbustamante.yafoot.users.aop.DirectoryExceptionsManagementAspect
Aspect in charge of transforming any exception thrown when contacting the user directory into a
DirectoryException
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Pointcut for services implementation using the active directory.transformException
(org.aspectj.lang.ProceedingJoinPoint pjp) Transforms any exception thrown into a DirectoryException.
-
Constructor Details
-
DirectoryExceptionsManagementAspect
public DirectoryExceptionsManagementAspect()
-
-
Method Details
-
filterServicesMethods
public void filterServicesMethods()Pointcut for services implementation using the active directory. -
transformException
Transforms any exception thrown into a DirectoryException.- Parameters:
pjp
- Join point used for the method to intercept- Returns:
- Service method return
- Throws:
Throwable
- Exception from service method
-