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:
Serializable

public class HttpStatusCodeException
extends IOException

See Also:
Serialized Form

Constructor Summary
HttpStatusCodeException(int expectedStatus, int actualStatus, String method, String url)
           
HttpStatusCodeException(int expectedStatus, int actualStatus, String method, String url, String content)
           
 
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,
                               String method,
                               String url)

HttpStatusCodeException

public HttpStatusCodeException(int expectedStatus,
                               int actualStatus,
                               String method,
                               String url,
                               String content)
Method Detail

getExpectedStatus

public int getExpectedStatus()

getActualStatus

public int getActualStatus()


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.