public class DefaultErrorHandler extends Object implements NshErrorHandler
| Constructor and Description |
|---|
DefaultErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
errorToCode(Throwable th) |
String |
errorToMessage(Throwable th) |
boolean |
isQuitException(Throwable th) |
void |
onError(String message,
Throwable th,
NshContext context) |
public boolean isQuitException(Throwable th)
isQuitException in interface NshErrorHandlerpublic int errorToCode(Throwable th)
errorToCode in interface NshErrorHandlerpublic String errorToMessage(Throwable th)
errorToMessage in interface NshErrorHandlerpublic void onError(String message, Throwable th, NshContext context)
onError in interface NshErrorHandlerCopyright © 2026 vpc open source initiative. All rights reserved.