org.odata4j.core
Class OErrors

java.lang.Object
  extended by org.odata4j.core.OErrors

public class OErrors
extends Object

A static factory to create immutable OError instances.


Constructor Summary
OErrors()
           
 
Method Summary
static OError error(String code, String message, String innerError)
          Creates a new OError instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OErrors

public OErrors()
Method Detail

error

public static OError error(String code,
                           String message,
                           String innerError)
Creates a new OError instance.

Parameters:
code - the technical error code
message - the human-readable error message
innerError - details about the error, e.g., the stack trace
Returns:
an instance of OError


http://odata4j.org