1 21 package oracle.toplink.essentials.exceptions.i18n; 23 24 import java.util.ListResourceBundle ; 25 26 32 public class EntityManagerSetupExceptionResource extends ListResourceBundle { 33 static final Object [][] contents = { 34 { "28001", "A ValidationException was thrown while trying to create session: [{0}] " + ". The most likely causes of this issue are that your [{1}] file is not available on the classpath " + "or it does not contain a session called: [{0}]." }, 35 { "28002", "TopLink is attemting to load a ServerSession named [{0}] from [{1}], and not getting a ServerSession." }, 36 { "28003", "TopLink has loaded Session [{0}] from [{1}] and it either does not have a server platform specified or specifies " + "a server platform that does not use and external transaction controller. Please specify an appropriate server platform if you plan to use JTA." }, 37 { "28004", "Error in setup of EntityManager factory: JavaSECMPInitializer.initializeFromMain returned false." }, 38 { "28005", "An Exception was thrown in setup of EntityManager factory." }, 39 { "28006", "ClassNotFound: [{0}] specified in [{1}] property." }, 40 { "28007", "Failed to instantiate ServerPlatform of type [{0}] specified in [{1}] property." }, 41 { "28008", "Class: {0} was not found while processing annotations." }, 42 { "28009", "Attempted to redeploy a session named {0} without closing it." }, 43 { "28010", "PersistenceUnitInfo {0} has transactionType JTA, but doesn't have jtaDataSource." }, 44 { "28011", "The session, [{0}], built for a persistence unit was not available at the time it was deployed. This means that somehow the session was removed from the container in the middle of the deployment process." }, 45 { "28012", "Value [{0}] is of incorrect type for property [{2}], value type should be [{1}]." }, 46 { "28013", "Attempted to deploy PersistenceUnit [{0}] for which predeploy method either had not called or had failed" }, 47 { "28014", "Exception was thrown while processing property [{0}] with value {[1}]." } 48 }; 49 50 53 protected Object [][] getContents() { 54 return contents; 55 } 56 } 57 | Popular Tags |