public class RaftException extends Throwable
| Constructor and Description |
|---|
RaftException() |
RaftException(EnumOutter.ErrorType type) |
RaftException(EnumOutter.ErrorType type,
RaftError err,
String fmt,
Object... args) |
RaftException(EnumOutter.ErrorType type,
Status status) |
| Modifier and Type | Method and Description |
|---|---|
Status |
getStatus() |
EnumOutter.ErrorType |
getType() |
void |
setStatus(Status status) |
void |
setType(EnumOutter.ErrorType type) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic 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 © 2024. All rights reserved.