All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.processpuzzle.fitnesse.connect.testbed.service.ServiceException Maven / Gradle / Ivy

There is a newer version: 1.1.13
Show newest version
package com.processpuzzle.fitnesse.connect.testbed.service;

import org.springframework.http.HttpStatus;

public abstract class ServiceException extends Exception {
   private static final long serialVersionUID = -6397059176880480244L;
   protected final HttpStatus responseStatus;
   protected final ServiceErrors serviceError;
   
   protected ServiceException( String message, HttpStatus responseStatus, ServiceErrors serviceError ){
      super( message );
      this.responseStatus = responseStatus;
      this.serviceError = serviceError;
   }
   
   // properties
   // @formatter:off
   public HttpStatus getResponseStatus() { return responseStatus; }
   public ServiceErrors getServiceError() { return serviceError; }
   // @formatter:on
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy