1 21 package oracle.toplink.essentials.exceptions.i18n; 23 24 import java.util.ListResourceBundle ; 25 26 33 public class OptimisticLockExceptionResource extends ListResourceBundle { 34 static final Object [][] contents = { 35 { "5001", "An attempt was made to delete the object [{0}], but it has no version number in the identity map. {3}It may not have been read before the delete was attempted. {3}Class> {1} Primary Key> {2}" }, 36 { "5003", "The object [{0}] cannot be deleted because it has changed or been deleted since it was last read. {3}Class> {1} Primary Key> {2}" }, 37 { "5004", "An attempt was made to update the object [{0}], but it has no version number in the identity map. {3}It may not have been read before the update was attempted. {3}Class> {1} Primary Key> {2}" }, 38 { "5006", "The object [{0}] cannot be updated because it has changed or been deleted since it was last read. {3}Class> {1} Primary Key> {2}" }, 39 { "5007", "The object [{0}] must have a non-read-only mapping to the version lock field." }, 40 { "5008", "Must map the version lock field to java.sql.Timestamp when using Timestamp Locking" }, 41 { "5009", "The object of class [{1}] of class [{0}] cannot be unwrapped because it was deleted since it was last read." }, 42 { "5010", "The object [{0}] cannot be merged because it has changed or been deleted since it was last read. {3}Class> {1}" } 43 44 }; 45 46 49 protected Object [][] getContents() { 50 return contents; 51 } 52 } 53 | Popular Tags |