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