polyglot.main
Class UsageError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by polyglot.main.UsageError
All Implemented Interfaces:
java.io.Serializable

public class UsageError
extends java.lang.Exception

An exception used to indicate a command-line usage error.

See Also:
Serialized Form

Constructor Summary
UsageError(java.lang.String s)
           
UsageError(java.lang.String s, int exitCode)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UsageError

public UsageError(java.lang.String s)

UsageError

public UsageError(java.lang.String s,
                  int exitCode)