Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Static Public Member Functions | Protected Member Functions

org::apache::vinci::transport::ErrorFrame Class Reference

Inheritance diagram for org::apache::vinci::transport::ErrorFrame:
Inheritance graph
[legend]
Collaboration diagram for org::apache::vinci::transport::ErrorFrame:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void add (String key, FrameComponent val)
FrameLeaf createFrameLeaf (byte[] array)
Frame createSubFrame (String tag_name, int initialCapacity)
 ErrorFrame (String error_message)
Frame fadd (String key)
Frame fadd (String key, float val)
Frame fadd (String key, float[] val)
Frame fadd (String key, double val)
Frame fadd (String key, String[] val)
Frame fadd (String key, double[] val)
Frame fadd (String key, int val)
Frame fadd (String key, int[] val)
Frame fadd (String key, long val)
Frame fadd (String key, long[] val)
Frame fadd (String key, String val)
Frame fadd (String key, byte[] val)
Frame fadd (String key, boolean val)
Frame fadd (String key, Frame val)
Frame faddTrueBinary (String key, byte[] val)
VinciFrame fdrop (String key)
VinciFrame fdropFirst (String key)
ArrayList fget (String key)
boolean fgetBoolean (String key)
byte[] fgetBytes (String key)
double fgetDouble (String key)
double[] fgetDoubleArray (String key)
FrameComponent fgetFirst (String key)
float fgetFloat (String key) throws LeafCastException
float[] fgetFloatArray (String key)
QueryableFrame fgetFrame (String key)
int fgetInt (String key)
int[] fgetIntArray (String key)
long fgetLong (String key)
long[] fgetLongArray (String key)
String fgetString (String key)
String[] fgetStringArray (String key)
byte[] fgetTrueBinary (String key)
VinciFrame fgetVinciFrame (String key)
ArrayList fkeys ()
void freset ()
KeyValuePair fromStream (InputStream is) throws IOException, EOFException
VinciFrame fset (String key, int[] val)
VinciFrame fset (String key, long val)
VinciFrame fset (String key, int val)
VinciFrame fset (String key, String val)
VinciFrame fset (String key, boolean val)
VinciFrame fset (String key, byte[] bin)
VinciFrame fset (String key, double val)
VinciFrame fset (String key, Frame val)
VinciFrame fsetTrueBinary (String key, byte[] bin)
Attributes getAttributes ()
KeyValuePair getKeyValuePair (int which)
int getKeyValuePairCount ()
void setAttributes (Attributes s)
boolean stripWhitespace ()
StringBuffer toRawXML (StringBuffer buf)
String toRawXML ()
void toRawXMLWork (StringBuffer rval)
void toStream (OutputStream os) throws IOException
String toString ()
StringBuffer toXML (StringBuffer buf)
String toXML ()

Static Public Member Functions

static FrameTransporter getFrameTransporter ()
static TransportableFactory getVinciFrameFactory ()
static void setFrameTransporter (FrameTransporter transporter)
static VinciFrame toVinciFrame (Transportable t)

Protected Member Functions

void ensureCapacity ()
void set (String key, FrameComponent val)
void toXML (StringBuffer rval, int offset)

Detailed Description

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.

Definition at line 28 of file ErrorFrame.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index