Package com.epam.reportportal.exception
Class ReportPortalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.epam.reportportal.exception.GeneralReportPortalException
-
- com.epam.reportportal.exception.ReportPortalException
-
- All Implemented Interfaces:
java.io.Serializable
public class ReportPortalException extends GeneralReportPortalException
Base ReportPortal. Used for unclassified errors- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ErrorRSerrorHTTP Error Response Body-
Fields inherited from class com.epam.reportportal.exception.GeneralReportPortalException
statusCode, statusMessage
-
-
Constructor Summary
Constructors Constructor Description ReportPortalException(int statusCode, java.lang.String statusMessage, ErrorRS error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorRSgetError()java.lang.StringgetMessage()-
Methods inherited from class com.epam.reportportal.exception.GeneralReportPortalException
getStatusCode, getStatusMessage
-
-
-
-
Field Detail
-
error
protected final ErrorRS error
HTTP Error Response Body
-
-
Constructor Detail
-
ReportPortalException
public ReportPortalException(int statusCode, java.lang.String statusMessage, ErrorRS error)
-
-
Method Detail
-
getError
public ErrorRS getError()
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessagein classGeneralReportPortalException
-
-