org.stefaniuk.json.service
Class JsonServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.stefaniuk.json.service.JsonServiceException
All Implemented Interfaces:
Serializable

public class JsonServiceException
extends Exception

JSON service exception.

Since:
2010/09/20
Version:
1.0.0
Author:
Daniel Stefaniuk
See Also:
Serialized Form

Constructor Summary
JsonServiceException(JsonServiceError error)
          Constructor
 
Method Summary
 int getCode()
          Returns error code.
 JsonServiceError getError()
          Returns error object.
 
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

JsonServiceException

public JsonServiceException(JsonServiceError error)
Constructor

Parameters:
error - Error object
Method Detail

getCode

public int getCode()
Returns error code.

Returns:
Returns error code.

getError

public JsonServiceError getError()
Returns error object.

Returns:
Returns error object.


Copyright © 2013. All Rights Reserved.