|
From: <de...@us...> - 2003-10-29 11:54:35
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun
In directory sc8-pr-cvs1:/tmp/cvs-serv15821/commun
Modified Files:
FudaaCommonImplementation.java FudaaLib.java
Log Message:
boundary condition edition for telemac
Index: FudaaCommonImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun/FudaaCommonImplementation.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** FudaaCommonImplementation.java 10 Oct 2003 14:49:07 -0000 1.7
--- FudaaCommonImplementation.java 29 Oct 2003 11:54:32 -0000 1.8
***************
*** 273,277 ****
FudaaLib.showError(this, _titre, _text);
if (printErr)
! System.err.println(_titre + DodicoLib.ESPACE + _text);
}
/**
--- 273,277 ----
FudaaLib.showError(this, _titre, _text);
if (printErr)
! FudaaLib.error(_titre + DodicoLib.ESPACE + _text);
}
/**
***************
*** 292,296 ****
public boolean manageErrorOperationAndIsFatal(FileOperationSynthese _opResult) {
if (_opResult.getClosingException() != null) {
! System.err.println(
"FATAL :can't close " + _opResult.getAnalyze().getRessource());
}
--- 292,296 ----
public boolean manageErrorOperationAndIsFatal(FileOperationSynthese _opResult) {
if (_opResult.getClosingException() != null) {
! FudaaLib.error(
"FATAL :can't close " + _opResult.getAnalyze().getRessource());
}
Index: FudaaLib.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun/FudaaLib.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** FudaaLib.java 6 Oct 2003 08:08:59 -0000 1.9
--- FudaaLib.java 29 Oct 2003 11:54:32 -0000 1.10
***************
*** 50,56 ****
--- 50,71 ----
public final static boolean DEBUG =
"TRUE".equals(System.getProperty("DEBUG"));
+
+ public final static boolean INFO =DEBUG||
+ "TRUE".equals(System.getProperty("INFO"));
private FudaaLib()
{
+ }
+
+ public static void debug(String _s){
+ System.out.println("DEBUG: "+_s);
+ }
+
+ public static void error(String _s){
+ System.out.println("ERROR: "+_s);
+ }
+
+ public static void info(String _s){
+ System.out.println("--> "+_s);
}
|