db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mad...@apache.org
Subject svn commit: r574970 - in /db/jdo/trunk: api2-legacy/src/java/javax/jdo/Bundle.properties api2/src/java/javax/jdo/Bundle.properties
Date Wed, 12 Sep 2007 14:25:42 GMT
Author: madams
Date: Wed Sep 12 07:25:41 2007
New Revision: 574970

URL: http://svn.apache.org/viewvc?rev=574970&view=rev
Log:
JDO-523:  Misleading error msg raised by JDOHelper.getPersistenceManagerFactory(arg) if the
resource in arg does not exist

Added missing periods and ensured format of error message is correct.

Modified:
    db/jdo/trunk/api2-legacy/src/java/javax/jdo/Bundle.properties
    db/jdo/trunk/api2/src/java/javax/jdo/Bundle.properties

Modified: db/jdo/trunk/api2-legacy/src/java/javax/jdo/Bundle.properties
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/src/java/javax/jdo/Bundle.properties?rev=574970&r1=574969&r2=574970&view=diff
==============================================================================
--- db/jdo/trunk/api2-legacy/src/java/javax/jdo/Bundle.properties (original)
+++ db/jdo/trunk/api2-legacy/src/java/javax/jdo/Bundle.properties Wed Sep 12 07:25:41 2007
@@ -86,34 +86,34 @@
 EXC_DuplicateRequestedNamedPMFFoundInSameConfig: Duplicate PMF \
 name "{0}" found in {1}.
 EXC_UnableToInvokeCreateEMFMethod:  Unable to invoke \
-javax.persistence.Persistence.createEntityManagerFactory(String)
+javax.persistence.Persistence.createEntityManagerFactory(String).
 EXC_UnableToCastEMFToPMF:  Unable to cast EntityManagerFactory class {0} \
-to javax.jdo.PersistenceManagerFactory
+to javax.jdo.PersistenceManagerFactory.
 ERR_NoDocumentBuilderFactory:  Unable to instantiate \
-javax.xml.parsers.DocumentBuilderFactory
+javax.xml.parsers.DocumentBuilderFactory.
 EXC_ParserConfigException:  Encountered parser configuration exception while \
-getting javax.xml.parsers.DocumentBuilder
+getting javax.xml.parsers.DocumentBuilder.
 EXC_SAXParseException:  Exception parsing configuration {0}\
-at line {1}, column {2}
-EXC_SAXException:  Exception parsing configuration {0}
+at line {1}, column {2}.
+EXC_SAXException:  Exception parsing configuration {0}.
 EXC_DuplicatePropertyFound: Duplicate property name "{0}" found in PMF \
 configuration with name "{1}" found in {2}.
 EXC_DuplicatePMFNamePropertyFoundWithinConfig:  Duplicate \
-PMF name found in {2}:  attribute is "{0}", element is "{1}"
+PMF name found in {2}:  attribute is "{0}", element is "{1}".
 EXC_PropertyElementHasNoNameAttribute:  Found <property> element with no \
-"name" attribute in {0}
+"name" attribute in {0}.
 EXC_PropertyElementNameAttributeHasNoValue:  Found <property> element name \
-attribute "{0}" with no value in {1}
+attribute "{0}" with no value in {1}.
 EXC_DuplicatePropertyNameGivenInPropertyElement: Duplicate property name given \
-in property element:  name {0} in {1}
+in property element:  name {0} in {1}.
 EXC_MissingListenerAttribute:  Required <instance-lifecycle-listener> \
-attribute "listener" missing in {0}
+attribute "listener" missing in {0}.
 EXC_MissingListenerAttributeValue:  <instance-lifecycle-listener> attribute \
-"listener" missing value in {0}
-EXC_InvalidJDOConfigNoRoot:  No root <jdoconfig> element found in {0}
+"listener" missing value in {0}.
+EXC_InvalidJDOConfigNoRoot:  No root <jdoconfig> element found in {0}.
 EXC_NoPMFConfigurableViaPropertiesOrXML: No PersistenceManagerFactory \
 configurable via properties resource "{0}" or no named PMF or persistence unit \
-named "{0}" found using resource loader {1}
+named "{0}" found using resource loader {1}.
 EXC_JavaxPersistencePersistenceAbsentOrNoPUFound=\
 Class javax.persistence.Persistence or one of its dependencies was not found, \
 or the given persistence unit name "{0}" was not found.

Modified: db/jdo/trunk/api2/src/java/javax/jdo/Bundle.properties
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/Bundle.properties?rev=574970&r1=574969&r2=574970&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/Bundle.properties (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/Bundle.properties Wed Sep 12 07:25:41 2007
@@ -86,34 +86,34 @@
 EXC_DuplicateRequestedNamedPMFFoundInSameConfig: Duplicate PMF \
 name "{0}" found in {1}.
 EXC_UnableToInvokeCreateEMFMethod:  Unable to invoke \
-javax.persistence.Persistence.createEntityManagerFactory(String)
+javax.persistence.Persistence.createEntityManagerFactory(String).
 EXC_UnableToCastEMFToPMF:  Unable to cast EntityManagerFactory class {0} \
-to javax.jdo.PersistenceManagerFactory
+to javax.jdo.PersistenceManagerFactory.
 ERR_NoDocumentBuilderFactory:  Unable to instantiate \
-javax.xml.parsers.DocumentBuilderFactory
+javax.xml.parsers.DocumentBuilderFactory.
 EXC_ParserConfigException:  Encountered parser configuration exception while \
-getting javax.xml.parsers.DocumentBuilder
+getting javax.xml.parsers.DocumentBuilder.
 EXC_SAXParseException:  Exception parsing configuration {0}\
-at line {1}, column {2}
-EXC_SAXException:  Exception parsing configuration {0}
+at line {1}, column {2}.
+EXC_SAXException:  Exception parsing configuration {0}.
 EXC_DuplicatePropertyFound: Duplicate property name "{0}" found in PMF \
 configuration with name "{1}" found in {2}.
 EXC_DuplicatePMFNamePropertyFoundWithinConfig:  Duplicate \
-PMF name found in {2}:  attribute is "{0}", element is "{1}"
+PMF name found in {2}:  attribute is "{0}", element is "{1}".
 EXC_PropertyElementHasNoNameAttribute:  Found <property> element with no \
-"name" attribute in {0}
+"name" attribute in {0}.
 EXC_PropertyElementNameAttributeHasNoValue:  Found <property> element name \
-attribute "{0}" with no value in {1}
+attribute "{0}" with no value in {1}.
 EXC_DuplicatePropertyNameGivenInPropertyElement: Duplicate property name given \
-in property element:  name {0} in {1}
+in property element:  name {0} in {1}.
 EXC_MissingListenerAttribute:  Required <instance-lifecycle-listener> \
-attribute "listener" missing in {0}
+attribute "listener" missing in {0}.
 EXC_MissingListenerAttributeValue:  <instance-lifecycle-listener> attribute \
-"listener" missing value in {0}
-EXC_InvalidJDOConfigNoRoot:  No root <jdoconfig> element found in {0}
+"listener" missing value in {0}.
+EXC_InvalidJDOConfigNoRoot:  No root <jdoconfig> element found in {0}.
 EXC_NoPMFConfigurableViaPropertiesOrXML: No PersistenceManagerFactory \
 configurable via properties resource "{0}" or no named PMF or persistence unit \
-named "{0}" found using resource loader {1}
+named "{0}" found using resource loader {1}.
 EXC_JavaxPersistencePersistenceAbsentOrNoPUFound=\
 Class javax.persistence.Persistence or one of its dependencies was not found, \
 or the given persistence unit name "{0}" was not found.



Mime
View raw message