- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- jdk.jshell.spi.ExecutionControl.ExecutionControlException
-
- jdk.jshell.spi.ExecutionControl.RunException
-
- jdk.jshell.spi.ExecutionControl.UserException
-
- All Implemented Interfaces:
-
Serializable
- Enclosing interface:
- ExecutionControl
public static class ExecutionControl.UserException extends ExecutionControl.RunException
发生“正常”用户异常。- 另请参见:
- Serialized Form
-
-
构造方法摘要
构造方法 Constructor 描述 UserException(String message, String causeExceptionClass, StackTraceElement[] stackElements)
-
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 String
causeExceptionClass()
返回用户异常的类。-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
构造方法详细信息
-
UserException
public UserException(String message, String causeExceptionClass, StackTraceElement[] stackElements)
-
-
方法详细信息
-
causeExceptionClass
public String causeExceptionClass()
返回用户异常的类。- 结果
- the name of the user exception class
-
-