com.duowan.mobile.netroid
Class NetroidError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.duowan.mobile.netroid.NetroidError
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AuthFailureError, NetworkError, ParseError, ServerError, TimeoutError

public class NetroidError
extends java.lang.Exception

Exception style class encapsulating Netroid errors

See Also:
Serialized Form

Field Summary
 NetworkResponse networkResponse
           
 
Constructor Summary
NetroidError()
           
NetroidError(NetworkResponse response)
           
NetroidError(java.lang.String exceptionMessage)
           
NetroidError(java.lang.String exceptionMessage, java.lang.Throwable reason)
           
NetroidError(java.lang.Throwable cause)
           
 
Method Summary
 
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
 

Field Detail

networkResponse

public final NetworkResponse networkResponse
Constructor Detail

NetroidError

public NetroidError()

NetroidError

public NetroidError(NetworkResponse response)

NetroidError

public NetroidError(java.lang.String exceptionMessage)

NetroidError

public NetroidError(java.lang.String exceptionMessage,
                    java.lang.Throwable reason)

NetroidError

public NetroidError(java.lang.Throwable cause)