org.codeforamerica.open311.facade.exceptions
Class APIWrapperException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.codeforamerica.open311.facade.exceptions.APIWrapperException
All Implemented Interfaces:
Serializable

public class APIWrapperException
extends Exception

Thrown if it was any problem performing an operation through the APIWrapper.

Author:
Santiago MunĂ­n
See Also:
Serialized Form

Nested Class Summary
static class APIWrapperException.Error
          Different types of errors.
 
Constructor Summary
APIWrapperException(String message, APIWrapperException.Error error, GeoReportV2Error geoReportError)
           
 
Method Summary
 APIWrapperException.Error getError()
           
 GeoReportV2Error getGeoReportError()
           
static long getSerialversionuid()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

APIWrapperException

public APIWrapperException(String message,
                           APIWrapperException.Error error,
                           GeoReportV2Error geoReportError)
Method Detail

getSerialversionuid

public static long getSerialversionuid()

getError

public APIWrapperException.Error getError()

getGeoReportError

public GeoReportV2Error getGeoReportError()

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2013 Code for America. All Rights Reserved.