1 22 23 package org.xquark.extractor.common; 24 25 26 public class Debug { 27 private static final String RCSRevision = "$Revision: 1.4 $"; 28 private static final String RCSName = "$Name: $"; 29 30 31 static final String NEWLINE = System.getProperty("line.separator"); 32 33 public static void assertTrue (boolean predicate , String message) { 34 if ( !predicate ) { 35 throw new AssertionException (message) ; 36 } 37 } 38 39 47 public static void nyi (String message) 48 { 49 throw new DebugException("not yet implemented : " + message); 50 } 51 52 57 114 119 147 179 } 180 | Popular Tags |