org.apache.sling.commons.testing.integration
Class HttpStatusCodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.sling.commons.testing.integration.HttpStatusCodeException
All Implemented Interfaces:
java.io.Serializable

public class HttpStatusCodeException
extends java.io.IOException

See Also:
Serialized Form

Constructor Summary
HttpStatusCodeException(int expectedStatus, int actualStatus, java.lang.String method, java.lang.String url)
           
 
Method Summary
 int getActualStatus()
           
 int getExpectedStatus()
           
 
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

HttpStatusCodeException

public HttpStatusCodeException(int expectedStatus,
                               int actualStatus,
                               java.lang.String method,
                               java.lang.String url)
Method Detail

getExpectedStatus

public int getExpectedStatus()

getActualStatus

public int getActualStatus()


Copyright © 2007-2009. All Rights Reserved.