All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wetheinter.net.dev.il8n.CodeServerDebugMessages Maven / Gradle / Ivy

There is a newer version: 0.5
Show newest version
package wetheinter.net.dev.il8n;

import com.google.gwt.core.shared.GWT;

public interface CodeServerDebugMessages {
  /**
   * This class houses our static final il8n singleton.
   * Recommended use:
   * import xapi.dev.il8n.CodeServerDebugMessages.Static.*;
   * 
   * @author James X. Nelson ([email protected], @ajax)
   *
   */
  public class Debug{
    static final CodeServerDebugMessages msgs;
    static{
      CodeServerDebugMessages candidate;
      try{
        candidate = GWT.create(CodeServerDebugMessages.class);
      }catch (Exception e) {
        try {
          candidate = Messages_EN.class.newInstance();
        } catch (Exception e1) {
          e1.printStackTrace(System.err);
          candidate = null;//needed for ide not to complain about unassigned finals
          System.exit(1);
        }
      }
      msgs = candidate;
    }
    public static String unableToStartServer(){
      return msgs.unableToStartServer();
    }
    public static String unableToParseArguments(){
      return msgs.unableToParseArguments();
    }
    
  }
  String unableToStartServer();
  String unableToParseArguments();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy