public class RPCError extends Object
Constructor and Description |
---|
RPCError() |
RPCError(String message,
int code) |
RPCError(String message,
RPCErrorCode code) |
RPCError(Throwable t,
int code,
boolean debug) |
RPCError(Throwable t,
RPCErrorCode code,
boolean debug) |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
String |
getMessage() |
String |
getName() |
String |
getStack() |
void |
setCode(int code) |
void |
setMessage(String message) |
void |
setName(String name) |
void |
setStack(String stack) |
public RPCError()
public RPCError(String message, int code)
public RPCError(String message, RPCErrorCode code)
public RPCError(Throwable t, int code, boolean debug)
public RPCError(Throwable t, RPCErrorCode code, boolean debug)
public int getCode()
public void setCode(int code)
public String getName()
public void setName(String name)
public String getMessage()
public void setMessage(String message)
public String getStack()
public void setStack(String stack)
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.