Class UnSuccessfulRequestStatusException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.jenkins.plugins.remote.result.trigger.exceptions.UnSuccessfulRequestStatusException
-
- All Implemented Interfaces:
Serializable
public class UnSuccessfulRequestStatusException extends Exception
jenkins request status is not 200- Author:
- HW
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnSuccessfulRequestStatusException(String message, int status, String url)
Constructs a new exception withnull
as its detail message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStatus()
String
getUrl()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnSuccessfulRequestStatusException
public UnSuccessfulRequestStatusException(String message, int status, String url)
Constructs a new exception withnull
as its detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
.
-
-
Method Detail
-
getStatus
public int getStatus()
-
getUrl
public String getUrl()
-
-