public class RaftException extends Throwable
| 构造器和说明 |
|---|
RaftException() |
RaftException(EnumOutter.ErrorType type) |
RaftException(EnumOutter.ErrorType type,
RaftError err,
String fmt,
Object... args) |
RaftException(EnumOutter.ErrorType type,
Status status) |
| 限定符和类型 | 方法和说明 |
|---|---|
Status |
getStatus() |
EnumOutter.ErrorType |
getType() |
void |
setStatus(Status status) |
void |
setType(EnumOutter.ErrorType type) |
String |
toString() |
public RaftException(EnumOutter.ErrorType type)
public RaftException(EnumOutter.ErrorType type, Status status)
public RaftException(EnumOutter.ErrorType type, RaftError err, String fmt, Object... args)
public RaftException()
public EnumOutter.ErrorType getType()
public void setType(EnumOutter.ErrorType type)
public Status getStatus()
public void setStatus(Status status)
Copyright © 2021. All rights reserved.