com.zeroturnaround.liverebel.api
Class Forbidden

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
                  extended by com.zeroturnaround.liverebel.api.Forbidden
All Implemented Interfaces:
Serializable

public class Forbidden
extends Error

An exception indicating that the access to the remote server was rejected.

Author:
Rein Raudjärv
See Also:
Serialized Form

Field Summary
static int STATUS
           
 
Constructor Summary
Forbidden(String url, int status, String reason)
           
 
Method Summary
 
Methods inherited from class com.zeroturnaround.liverebel.api.Error
getStatus, 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
 

Field Detail

STATUS

public static final int STATUS
See Also:
Constant Field Values
Constructor Detail

Forbidden

public Forbidden(String url,
                 int status,
                 String reason)


Copyright © 2013. All Rights Reserved.