Package io.bayonet.exceptions
Class BayonetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.bayonet.exceptions.BayonetException
- All Implemented Interfaces:
java.io.Serializable
public class BayonetException
extends java.lang.Exception
Created by imranarshad on 11/27/17
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description BayonetException(java.lang.Integer reason_code, java.lang.String reason_message, java.lang.Integer http_response_code)Constructors -
Method Summary
Modifier and Type Method Description java.lang.IntegergetHttpResponseCode()java.lang.IntegergetReasonCode()Getters and Settersjava.lang.StringgetReasonMessage()
-
Constructor Details
-
BayonetException
public BayonetException(java.lang.Integer reason_code, java.lang.String reason_message, java.lang.Integer http_response_code)Constructors
-
-
Method Details
-
getReasonCode
public java.lang.Integer getReasonCode()Getters and Setters -
getReasonMessage
public java.lang.String getReasonMessage() -
getHttpResponseCode
public java.lang.Integer getHttpResponseCode()
-