[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book/sword s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Wed Jul 27 14:35:39 MST 2005


Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/sword
In directory www.crosswire.org:/tmp/cvs-serv20597/java/jsword/org/crosswire/jsword/book/sword

Modified Files:
	Msg.properties SwordDictionary.java 
Log Message:
better error messages

Index: Msg.properties
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/sword/Msg.properties,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Msg.properties	11 Jun 2005 20:41:04 -0000	1.3
--- Msg.properties	27 Jul 2005 21:35:37 -0000	1.4
***************
*** 6,10 ****
  # It should have no spaces or other punctuation (e.g. _, -, ', ...)
  
! SwordDictionary.NoKey=No {0} in index.
  RawLDBackend.BadKey=Invalid Key type={0}, name={1}
  SwordUtil.GZIPFormat=Error whilst reading field
--- 6,10 ----
  # It should have no spaces or other punctuation (e.g. _, -, ', ...)
  
! SwordDictionary.NoKey=No entry for \'{0}\' in {1}.
  RawLDBackend.BadKey=Invalid Key type={0}, name={1}
  SwordUtil.GZIPFormat=Error whilst reading field

Index: SwordDictionary.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/sword/SwordDictionary.java,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** SwordDictionary.java	17 May 2005 00:43:15 -0000	1.44
--- SwordDictionary.java	27 Jul 2005 21:35:37 -0000	1.45
***************
*** 220,224 ****
          }
  
!         throw new NoSuchKeyException(Msg.NO_KEY, new Object[] { text });
      }
  
--- 220,224 ----
          }
  
!         throw new NoSuchKeyException(Msg.NO_KEY, new Object[] { text, getInitials() });
      }
  



More information about the jsword-svn mailing list