Package org.epics.pvaccess.server.rpc
Class RPCRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.epics.pvaccess.server.rpc.RPCRequestException
-
- All Implemented Interfaces:
Serializable
public class RPCRequestException extends Exception
Exception to be thrown in case of an error while processing RPC request.- Author:
- msekoranja
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RPCRequestException(org.epics.pvdata.pv.Status.StatusType status, String message)
Constructor.RPCRequestException(org.epics.pvdata.pv.Status.StatusType status, String message, Throwable cause)
Constructor that supports exception chaining.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.epics.pvdata.pv.Status.StatusType
getStatus()
Get status type.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RPCRequestException
public RPCRequestException(org.epics.pvdata.pv.Status.StatusType status, String message)
Constructor. NOTE: if an exception (of a problem) is available, use other constructor that supports exception chaining.- Parameters:
status
- status type.message
- human readable exception message.
-
-