|
From: <pe...@us...> - 2003-12-19 18:02:57
|
Update of /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/time
In directory sc8-pr-cvs1:/tmp/cvs-serv5157/src/java/org/neuclear/commons/time
Modified Files:
TimeTools.java
Log Message:
Revamped a lot of exception handling throughout the framework, it has been simplified in most places:
- For most cases the main exception to worry about now is InvalidNamedObjectException.
- Most lowerlevel exception that cant be handled meaningful are now wrapped in the LowLevelException, a
runtime exception.
- Source and Store patterns each now have their own exceptions that generalizes the various physical
exceptions that can happen in that area.
Index: TimeTools.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/time/TimeTools.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TimeTools.java 19 Dec 2003 00:31:16 -0000 1.4
--- TimeTools.java 19 Dec 2003 18:02:53 -0000 1.5
***************
*** 2,5 ****
--- 2,13 ----
* $Id$
* $Log$
+ * Revision 1.5 2003/12/19 18:02:53 pelle
+ * Revamped a lot of exception handling throughout the framework, it has been simplified in most places:
+ * - For most cases the main exception to worry about now is InvalidNamedObjectException.
+ * - Most lowerlevel exception that cant be handled meaningful are now wrapped in the LowLevelException, a
+ * runtime exception.
+ * - Source and Store patterns each now have their own exceptions that generalizes the various physical
+ * exceptions that can happen in that area.
+ *
* Revision 1.4 2003/12/19 00:31:16 pelle
* Lots of usability changes through out all the passphrase agents and end user tools.
***************
*** 106,115 ****
}
! public static Timestamp parseTimeStamp(final String ts) throws NeuClearException {
! try {
! return convertDateToTimestamp(getDateFormatter().parse(ts));
! } catch (ParseException e) {
! throw new NeuClearException(e);
! }
}
--- 114,119 ----
}
! public static Timestamp parseTimeStamp(final String ts) throws ParseException {
! return convertDateToTimestamp(getDateFormatter().parse(ts));
}
|