* @param dre the exception being handled
*/
@AfterThrowing(pointcut = "execution (* com.iggroup.wt.referencerest.service.*.*(..))", throwing = "dre")
public void handleDuplicateKeyException(DuplicateReferenceException dre) {
throw new SampleException(
new DuplicateReferenceError(dre.getReference()),
HttpStatus.BAD_REQUEST);
}