public class ThrowRuntimeException extends InstructRuntimeException
| 限定符和类型 | 字段和说明 |
|---|---|
protected long |
executionTime |
protected DataModel |
result |
protected int |
throwCode |
| 构造器和说明 |
|---|
ThrowRuntimeException(String errorMessage) |
ThrowRuntimeException(String errorMessage,
int throwCode,
long executionTime,
DataModel result) |
ThrowRuntimeException(String errorMessage,
Throwable e) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getExecutionTime() |
DataModel |
getResult() |
int |
getThrowCode() |
protected int throwCode
protected long executionTime
protected DataModel result
public ThrowRuntimeException(String errorMessage)
public int getThrowCode()
public long getExecutionTime()
public DataModel getResult()
Copyright © 2020. All rights reserved.