public final class RpcException
extends java.lang.Exception
This exception can be thrown by a RpcHandler to indicate application-level errors.
By throwing this exception in the RpcHandler.process(Jid, String, java.util.List) method a <fault/> will be returned.
| Constructor and Description |
|---|
RpcException(int faultCode,
java.lang.String faultString)
Creates a RPC exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFaultCode()
Gets the fault code.
|
java.lang.String |
getFaultString()
Gets the fault string.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.