hudson.plugins.build_publisher
Class ServerFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
hudson.util.IOException2
hudson.plugins.build_publisher.ServerFailureException
- All Implemented Interfaces:
- java.io.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
|
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 |
ServerFailureException
public ServerFailureException(org.apache.commons.httpclient.HttpMethod method,
java.lang.String message,
java.lang.Throwable cause)
ServerFailureException
public ServerFailureException(org.apache.commons.httpclient.HttpMethod method,
java.lang.Throwable cause)
ServerFailureException
public ServerFailureException(org.apache.commons.httpclient.HttpMethod method)
throws java.io.IOException
- Throws:
java.io.IOException
getMethod
public org.apache.commons.httpclient.HttpMethod getMethod()
Copyright © 2004-2011. All Rights Reserved.