org.yestech.rpx.objectmodel
Class RPXException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.yestech.rpx.objectmodel.RPXException
All Implemented Interfaces:
Serializable

public class RPXException
extends Exception

Author:
A.J. Wright
See Also:
Serialized Form

Constructor Summary
RPXException(String message, int code, RPXStat stat)
           
 
Method Summary
static RPXException fromJSON(org.json.JSONObject json)
          Will return an rpx exception if one exists.
 int getCode()
           
 RPXStat getStat()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RPXException

public RPXException(String message,
                    int code,
                    RPXStat stat)
Method Detail

getCode

public int getCode()

getStat

public RPXStat getStat()

fromJSON

public static RPXException fromJSON(org.json.JSONObject json)
Will return an rpx exception if one exists.

Parameters:
json - The json object.
Returns:
The exception created from the json string, null if there is no exception.


Copyright © 2010 YES Technology Association. All Rights Reserved.