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:
- 2.0
- Author:
- Frank Giordano
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ZosmfRequestException(String message, Throwable err)
ZosmfRequestException constructor for message valueZosmfRequestException(String message, Response response)
ZosmfRequestException constructor for message and response 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
-
-
-
-
Method Detail
-
getResponse
public Response getResponse()
Getter for response object- Returns:
- Response object
-
-