View Javadoc
1   package emissary.grpc.exceptions;
2   
3   /**
4    * Parent exception for failures based on the current state of the service. E.g. the service is down, the service has
5    * run out of a hardware resource, the service is misconfigured, etc.
6    */
7   public class ServiceNotAvailableException extends RuntimeException {
8   
9       private static final long serialVersionUID = 5692975291196373963L;
10  
11      public ServiceNotAvailableException(String errorMessage) {
12          super(errorMessage);
13      }
14  
15      public ServiceNotAvailableException(String errorMessage, Throwable err) {
16          super(errorMessage, err);
17      }
18  }