Class ApiError

java.lang.Object
sk.gursky.films.rest.ApiError

public class ApiError
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    ApiError​(int status, java.lang.String errorMessage)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getErrorMessage()  
    int getStatus()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ApiError

      public ApiError​(int status, java.lang.String errorMessage)
  • Method Details