Package zowe.client.sdk.rest.exception
Class ZosmfRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- zowe.client.sdk.rest.exception.ZosmfRequestException
-
- All Implemented Interfaces:
Serializable
public class ZosmfRequestException extends Exception
Custom exception to represent z/OSMF request error state- Version:
- 3.0
- Author:
- Frank Giordano
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ZosmfRequestException(String message)
ZosmfRequestException constructor for message valueZosmfRequestException(String message, Throwable err)
ZosmfRequestException constructor for message and throwable valuesZosmfRequestException(String message, Response response)
ZosmfRequestException constructor for message and response valuesZosmfRequestException(String message, Response response, Throwable err)
ZosmfRequestException constructor for message, response and throwable values
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
getResponse()
Getter for response object-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ZosmfRequestException
public ZosmfRequestException(String message)
ZosmfRequestException constructor for message value- Parameters:
message
- error message
-
ZosmfRequestException
public ZosmfRequestException(String message, Throwable err)
ZosmfRequestException constructor for message and throwable values- Parameters:
message
- error messageerr
- original throwable exception
-
ZosmfRequestException
public ZosmfRequestException(String message, Response response)
ZosmfRequestException constructor for message and response values- Parameters:
message
- error messageresponse
- Response object
-
-
Method Detail
-
getResponse
public Response getResponse()
Getter for response object- Returns:
- Response object
-
-