public interface SeedExceptionTranslator
BaseException.
Implementations must be declared as a ServiceLoader service in META-INF/services to be detected.| Modifier and Type | Method and Description |
|---|---|
boolean |
canTranslate(Exception e)
Check if the specified exception can be translated.
|
BaseException |
translate(Exception e)
Translate the specified exception.
|
boolean canTranslate(Exception e)
e - The candidate exception.BaseException translate(Exception e)
e - The exception to translate.Copyright © 2013-2018–2019 SeedStack. All rights reserved.