View Javadoc
1   package org.imageconverter.infra.exception;
2   
3   /**
4    * Element conflits exception, like delete a linked object.
5    * 
6    * @author Fernando Romulo da Silva
7    */
8   public class ElementConflictException extends BaseApplicationException {
9   
10      private static final long serialVersionUID = 1L;
11  
12      /**
13       * Constructs a new ElementConflictException exception with the specified detail message.
14       * 
15       * @param msg    The detail message
16       * @param params The parameters used on message
17       */
18      public ElementConflictException(final String msg, final Object... params) {
19  	super(msg, 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 ElementConflictException(final String msg, final Throwable ex, final Object... params) {
30  	super(msg, ex, params);
31      }
32  }