1 21 package oracle.toplink.essentials.exceptions.i18n; 23 24 import java.util.ListResourceBundle ; 25 26 33 public class ConversionExceptionResource extends ListResourceBundle { 34 static final Object [][] contents = { 35 { "3001", "The object [{0}], of class [{1}], could not be converted to [{2}]." }, 36 { "3002", "The object [{0}], of class [{1}], from mapping [{2}] with descriptor [{3}], could not be converted to [{4}]." }, 37 { "3003", "Incorrect date format: [{0}] (expected [YYYY-MM-DD])" }, 38 { "3004", "Incorrect time format: [{0}] (expected [HH:MM:SS])" }, 39 { "3005", "Incorrect timestamp format: [{0}] (expected [YYYY-MM-DD HH:MM:SS.NNNNNNNNN])" }, 40 { "3006", "[{0}] must be of even length to be converted to a byte array." }, 41 { "3007", "The object [{0}], of class [{1}], could not be converted to [{2}]. Please ensure that the class [{0}] is on the CLASSPATH. You may need to use alternate API passing in the appropriate class loader as required, or setting it on the default ConversionManager" }, 42 { "3008", "Incorrect date-time format: [{0}] (expected [YYYY-MM-DD'T'HH:MM:SS])" } 43 }; 44 45 48 protected Object [][] getContents() { 49 return contents; 50 } 51 } 52 | Popular Tags |