View Javadoc
1   package org.imageconverter.infra.exception;
2   
3   /**
4    * Service not available for conversion.
5    * 
6    * @author Fernando Romulo da Silva
7    */
8   public class ServiceUnavailableException extends BaseApplicationException {
9   
10      private static final long serialVersionUID = 1L;
11  
12      /**
13       * Constructs a new ServiceUnavailableException exception with the specified detail message.
14       * 
15       * @param msg    The detail message
16       * @param params The parameters used on message
17       */
18      public ServiceUnavailableException(final String message, final Object... params) {
19  	super(message, params);
20      }
21  
22      /**
23       * Constructs a new runtime exception with the specified detail message and cause.
24       * 
25       * @param msg    The detail message
26       * @param ex     The cause
27       * @param params The parameters used on message
28       */
29      public ServiceUnavailableException(final String message, final Throwable cause, final Object... params) {
30  	super(message, cause, params);
31      }
32  }