|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
polyglot.main.UsageError
public class UsageError
An exception used to indicate a command-line usage error.
| Field Summary | |
|---|---|
protected int |
exitCode
|
| Constructor Summary | |
|---|---|
UsageError(java.lang.String s)
|
|
UsageError(java.lang.String s,
int exitCode)
|
|
| Method Summary | |
|---|---|
int |
exitCode()
|
| 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 |
| Field Detail |
|---|
protected final int exitCode
| Constructor Detail |
|---|
public UsageError(java.lang.String s)
public UsageError(java.lang.String s,
int exitCode)
| Method Detail |
|---|
public int exitCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||