Interface ExceptionLoggingDecorator.ExceptionConverter
-
- All Known Implementing Classes:
AccessDeniedExceptionConverter
,FileExistsExceptionConverter
,MalformedNameExceptionConverter
,ReferentialIntegrityExceptionConverter
- Enclosing class:
- ExceptionLoggingDecorator
public static interface ExceptionLoggingDecorator.ExceptionConverter
Converts an exception before throwing to callers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException
convertException(Exception exception, String activityMessage, String refNum)
Converts the exception.
-
-
-
Method Detail
-
convertException
org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException convertException(Exception exception, String activityMessage, String refNum)
Converts the exception.- Parameters:
exception
- exceptionactivityMessage
- message describing activity in progress when exception occurredrefNum
- reference number generated on server for this exception- Returns:
- converted exception
-
-