logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Nice/src/bossa/util UserError.java,1.8,1.9: msg#00040

Subject: Nice/src/bossa/util UserError.java,1.8,1.9
Update of /cvsroot/nice/Nice/src/bossa/util
In directory sc8-pr-cvs1:/tmp/cvs-serv14976/src/bossa/util

Modified Files:
        UserError.java 
Log Message:
Improve robustness.


Index: UserError.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/util/UserError.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** UserError.java      24 Jun 2003 15:28:19 -0000      1.8
--- UserError.java      8 Oct 2003 22:44:32 -0000       1.9
***************
*** 36,40 ****
    public UserError(gnu.expr.Expression responsible, String message)
    {
!     this(Location.make(new java.io.File(responsible.getFile()), 
                         responsible.getLine(), responsible.getColumn()), 
         message);
--- 36,41 ----
    public UserError(gnu.expr.Expression responsible, String message)
    {
!     this(Location.make(responsible.getFile() == null ? 
!                        null : new java.io.File(responsible.getFile()),
                         responsible.getLine(), responsible.getColumn()), 
         message);




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php


<Prev in Thread] Current Thread [Next in Thread>