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