Interceptor ii=getConfiguration().getInterceptor();
if(ii == null)
return;
{
Executable before=ii.getBefore();
if(before instanceof ExecutableRefProxy)
{
Executable targetExe=getTargetRefExecutable((ExecutableRefProxy)before);
if(targetExe == null)
throw new ParseException("can not find 'before' interceptor named "+SbmUtils.toString(((ExecutableRefProxy)before).getRefName()));
ii.setBefore(targetExe);
}
}
{
Executable after=ii.getAfter();
if(after instanceof ExecutableRefProxy)
{
Executable targetExe=getTargetRefExecutable((ExecutableRefProxy)after);
if(targetExe == null)
throw new ParseException("can not find 'after' interceptor named "+SbmUtils.toString(((ExecutableRefProxy)after).getRefName()));
ii.setAfter(targetExe);
}
}
{
Executable exception=ii.getException();
if(exception instanceof ExecutableRefProxy)
{
Executable targetExe=getTargetRefExecutable((ExecutableRefProxy)exception);
if(targetExe == null)
throw new ParseException("can not find 'exception' interceptor named "+SbmUtils.toString(((ExecutableRefProxy)exception).getRefName()));
ii.setException(targetExe);
}