Package org.apache.vinci.transport
Class ErrorFrame
java.lang.Object
org.apache.vinci.transport.FrameComponent
org.apache.vinci.transport.Frame
org.apache.vinci.transport.QueryableFrame
org.apache.vinci.transport.VinciFrame
org.apache.vinci.transport.ErrorFrame
- All Implemented Interfaces:
Transportable
This is a special VinciFrame that simplifies returning error or exceptional conditions. If a
service returns an error frame, then the client's request method will in response throw an
exception with the provided error_message. Returning an error frame from VinciServable.eval() has
the same effect as throwing a ServiceException.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.vinci.transport.VinciFrame
add, createSubFrame, ensureCapacity, fdrop, fdropFirst, fget, fgetFirst, fgetVinciFrame, fkeys, freset, fset, fset, fset, fset, fset, fset, fset, fset, fsetTrueBinary, getKeyValuePair, getKeyValuePairCount, getVinciFrameFactory, set, stripWhitespace, toVinciFrame
Methods inherited from class org.apache.vinci.transport.QueryableFrame
fgetBoolean, fgetBytes, fgetDouble, fgetDoubleArray, fgetFloat, fgetFloatArray, fgetFrame, fgetInt, fgetIntArray, fgetLong, fgetLongArray, fgetString, fgetStringArray, fgetTrueBinary
Methods inherited from class org.apache.vinci.transport.Frame
createFrameLeaf, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, faddTrueBinary, fromStream, getFrameTransporter, setFrameTransporter, toRawXML, toRawXML, toRawXMLWork, toStream, toString, toXML, toXML, toXML
Methods inherited from class org.apache.vinci.transport.FrameComponent
getAttributes, setAttributes
-
Constructor Details
-
ErrorFrame
-