pygmy.core
Class HttpProtocolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.net.ProtocolException
                  extended by pygmy.core.HttpProtocolException
All Implemented Interfaces:
java.io.Serializable

public class HttpProtocolException
extends java.net.ProtocolException

See Also:
Serialized Form

Constructor Summary
HttpProtocolException(int statusCode, java.lang.String message)
           
 
Method Summary
 int getStatusCode()
           
 java.lang.String getStatusPhrase()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpProtocolException

public HttpProtocolException(int statusCode,
                             java.lang.String message)
Method Detail

getStatusCode

public int getStatusCode()

getStatusPhrase

public java.lang.String getStatusPhrase()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable