Class ResourceStatus


  • public class ResourceStatus
    extends Object
    Author:
    PRASHANTH ABBAGANI Holds the status code/msg (including the exception) of the appropriate resource create/delete functionality
    • Constructor Detail

      • ResourceStatus

        public ResourceStatus​(int status,
                              String message)
      • ResourceStatus

        public ResourceStatus​(int status,
                              String message,
                              boolean alreadyExists)
    • Method Detail

      • getStatus

        public int getStatus()
      • getMessage

        public String getMessage()
      • isAlreadyExists

        public boolean isAlreadyExists()
      • getException

        public Throwable getException()
      • setException

        public void setException​(Throwable t)