hudson.plugins.build_publisher
Class ServerFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by hudson.util.IOException2
                  extended by hudson.plugins.build_publisher.ServerFailureException
All Implemented Interfaces:
Serializable

public class ServerFailureException
extends hudson.util.IOException2

Indicates an error on the server.

The point of this exception type is to capture the failed HttpMethod, so that we can later record the error message on the server, which is often crucial in diagnosing a problem.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Constructor Summary
ServerFailureException(org.apache.commons.httpclient.HttpMethod method)
           
ServerFailureException(org.apache.commons.httpclient.HttpMethod method, String message, Throwable cause)
           
ServerFailureException(org.apache.commons.httpclient.HttpMethod method, Throwable cause)
           
 
Method Summary
 org.apache.commons.httpclient.HttpMethod getMethod()
           
 
Methods inherited from class hudson.util.IOException2
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

ServerFailureException

public ServerFailureException(org.apache.commons.httpclient.HttpMethod method,
                              String message,
                              Throwable cause)

ServerFailureException

public ServerFailureException(org.apache.commons.httpclient.HttpMethod method,
                              Throwable cause)

ServerFailureException

public ServerFailureException(org.apache.commons.httpclient.HttpMethod method)
                       throws IOException
Throws:
IOException
Method Detail

getMethod

public org.apache.commons.httpclient.HttpMethod getMethod()


Copyright © 2004-2012. All Rights Reserved.