com.google.javascript.jscomp.webservice.common
Class AbstractWebServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.javascript.jscomp.webservice.common.AbstractWebServiceException
All Implemented Interfaces:
Serializable

public abstract class AbstractWebServiceException
extends Exception

All the exceptions that can be returned as error to the client of the API.

See Also:
Serialized Form

Constructor Summary
AbstractWebServiceException()
           
 
Method Summary
abstract  ErrorCode getErrorCode()
           
abstract  String getFormattedError()
           
 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

AbstractWebServiceException

public AbstractWebServiceException()
Method Detail

getErrorCode

public abstract ErrorCode getErrorCode()

getFormattedError

public abstract String getFormattedError()

toString

public String toString()
Overrides:
toString in class Throwable