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