package org.jaexcel.framework.JAEX.definition;

/**
 * This will define all the error messages related to the framework. <br>
 * 
 * @version 1.0
 * @author Carlos CRISTO ABREU
 */
public enum ExceptionMessage {
	/* declared messages of ConfigurationException incompatible */
	ConfigurationException_Missing("Header configuration is missing. Review your configuration."),
	ConfigurationException_Incompatible("Incompatible configuration. Review your configuration."),
	ConfigurationException_Conflit("Conflit at the configuration. Review your configuration."),

	/* declared messages of ConverterException */
	ConverterException_Default("Problem while convert the element."),
	ConverterException_String("Problem while convert the string element."),
	ConverterException_BigDecimal("Problem while convert the BigDecimal element."),
	ConverterException_Double("Problem while convert the double element."),
	ConverterException_Float("Problem while convert the float element."),
	ConverterException_Integer("Problem while convert the integer element."),
	ConverterException_Long("Problem while convert the long element."),
	ConverterException_Boolean("Problem while convert the boolean element."),
	ConverterException_Date("Problem while convert the Date element, review your decorator mask."),
	ConverterException_Decorator("Problem while apply the decorator."),

	/* declared messages of ElementException */
	ElementException_NullObject("The entry object is null. Make sure you are sending a correct object."),
	ElementException_EmptyObject("The entry object is empty. Make sure you are sending a correct object."),
	ElementException_Row("Hola Mundo"),
	ElementException_Cell("Hola Mundo"),

	/* declared messages of SheetException */
	SheetException_CreationWorkbook("Problem while creating the Workbook."),
	SheetException_SaveWorkbook("Problem while saving the Workbook."),
	SheetException_CreationSheet("Problem while creating the Sheet."),
	SheetException_UpdateSheet("Problem while add a new Sheet.");

	private String message;

	private ExceptionMessage(String msg) {
		message = msg;
	}

	/**
	 * Get the error message.
	 * 
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}
}

@@ -297,79 +297,480 @@
 ion_
-Missing(%22Header configuration is missing. Review your configuration.%22),
+XlsConfigurationMissing(%22The annotation XlsConfiguration is missing. Review your configuration.%22),%0A%09ConfigurationException_XlsSheetMissing(%22The annotation XlsSheet is missing. Review your configuration.%22),%0A%09ConfigurationException_CellStyleMissing(%22Cell style configuration is missing. Review your configuration.%22),%0A%09ConfigurationException_Conflict(%22Conflict at the configuration. Review your configuration.%22),%0A%09// TODO see the below message will be applied (remove if not)
 %0A%09Co
@@ -866,101 +866,9 @@
 %22),%0A
+
 %09
-ConfigurationException_Conflit(%22Conflit at the configuration. Review your configuration.%22),%0A
 %0A%09/*
@@ -1918,83 +1918,8 @@
 .%22),
-%0A%09ElementException_Row(%22Hola Mundo%22),%0A%09ElementException_Cell(%22Hola Mundo%22),
 %0A%0A%09/
@@ -2021,32 +2021,59 @@
 ng the Workbook.
+ Review your configuration.
 %22),%0A%09SheetExcept
@@ -2080,20 +2080,21 @@
 ion_
-SaveWorkbook
+CreationSheet
 (%22Pr
@@ -2109,19 +2109,21 @@
 ile 
-sav
+creat
 ing the 
 Work
@@ -2122,20 +2122,108 @@
 the 
-Workbook.%22),
+Sheet. Review your configuration.%22),%0A%09// TODO see the below messages will be applied (remove if not)
 %0A%09Sh
@@ -2231,37 +2231,36 @@
 etException_
-CreationSheet
+SaveWorkbook
 (%22Problem wh
@@ -2259,37 +2259,35 @@
 oblem while 
-creat
+sav
 ing the 
 Sheet.%22),%0A%09S
@@ -2274,21 +2274,24 @@
 ing the 
-Sheet
+Workbook
 .%22),%0A%09Sh

Upgrade exceptions messages