public class DefaultJShellErrorHandler extends Object implements JShellErrorHandler
| Constructor and Description |
|---|
DefaultJShellErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
errorToCode(Throwable th) |
String |
errorToMessage(Throwable th) |
boolean |
isQuitException(Throwable th) |
void |
onError(String message,
Throwable th,
JShellContext context) |
public boolean isQuitException(Throwable th)
isQuitException in interface JShellErrorHandlerpublic int errorToCode(Throwable th)
errorToCode in interface JShellErrorHandlerpublic String errorToMessage(Throwable th)
errorToMessage in interface JShellErrorHandlerpublic void onError(String message, Throwable th, JShellContext context)
onError in interface JShellErrorHandlerCopyright © 2022 vpc open source initiative. All rights reserved.