added warning about unimplemented command-line usage...

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@301 375186e5-ef17-0410-b0b6-91563547dcda
This commit is contained in:
angryziber 2008-03-21 20:52:30 +00:00
parent 868ac71145
commit d8d4bac899

View File

@ -41,6 +41,8 @@ public class Main {
initSystemProperties();
processCommandLine(args);
Display display = Display.getDefault();
LOG.finer("SWT initialized after " + (System.currentTimeMillis() - startTime));
@ -88,6 +90,13 @@ public class Main {
Security.setProperty("networkaddress.cache.negative.ttl", "0");
}
private static void processCommandLine(String[] args) {
if (args.length != 0) {
// TODO: implement command-line
throw new UnsupportedOperationException("Command-line usage is not implemented yet, sorry");
}
}
/**
* Returns a nice localized message for the passed exception
* in case it is possible, or toString() otherwise.