Package org.openl.rules.lang.xls.classes
Interface LocatorExceptionHandler
-
- All Known Implementing Classes:
AbstractLocatorExceptionHandler,LoggingExceptionHandler
public interface LocatorExceptionHandlerClasses that implement this interface will handle exceptions thrown while locating classes Use cases: logging, adding error messages to WebStudio, rethrowing unchecked exception etc.- Author:
- NSamatov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleClassInstatiateException(Throwable t)Handle exceptions thrown when class is instantiatedvoidhandleIOException(IOException e)Handle exceptions thrown when Input/Output operations is performedvoidhandleURLParseException(Exception e)Handle exceptions thrown when resource URL is parsed
-
-
-
Method Detail
-
handleURLParseException
void handleURLParseException(Exception e)
Handle exceptions thrown when resource URL is parsed- Parameters:
e- exception
-
handleClassInstatiateException
void handleClassInstatiateException(Throwable t)
Handle exceptions thrown when class is instantiated- Parameters:
t- exception. Note: sometimes ClassLoader can throw a subclass of Error while a class instantiating.
-
handleIOException
void handleIOException(IOException e)
Handle exceptions thrown when Input/Output operations is performed- Parameters:
e- exception
-
-