|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.vinci.transport.FrameComponent
org.apache.vinci.transport.Frame
org.apache.vinci.transport.QueryableFrame
org.apache.vinci.transport.VinciFrame
org.apache.vinci.transport.ErrorFrame
public class ErrorFrame
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 | |
|---|---|
ErrorFrame(java.lang.String error_message)
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorFrame(java.lang.String error_message)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||