com.zeroturnaround.liverebel.api
Class Error

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.zeroturnaround.liverebel.api.Error
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Forbidden, NotFound

public class Error
extends RuntimeException

An unexpected exception received from the remote server.

Author:
Rein Raudjärv
See Also:
Serialized Form

Constructor Summary
Error(String url, int status, String reason)
           
 
Method Summary
 int getStatus()
           
 String getURL()
           
 
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

Error

public Error(String url,
             int status,
             String reason)
Method Detail

getURL

public String getURL()

getStatus

public int getStatus()


Copyright © 2013. All Rights Reserved.