|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sun.javatest.tool.Command.Fault
public class Command.Fault
This exception is used to report problems with a specific command.
Constructor Summary | |
---|---|
Command.Fault(CommandContext.Fault e)
Create a Fault, by wrapping a CommandContext Fault. |
|
Command.Fault(I18NResourceBundle i18n,
java.lang.String s)
Create a Fault. |
|
Command.Fault(I18NResourceBundle i18n,
java.lang.String s,
java.lang.Object o)
Create a Fault. |
|
Command.Fault(I18NResourceBundle i18n,
java.lang.String s,
java.lang.Object[] o)
Create a Fault. |
Method Summary | |
---|---|
Command |
getCommand()
Get the command that created this fault. |
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 |
---|
public Command.Fault(I18NResourceBundle i18n, java.lang.String s)
i18n
- A resource bundle in which to find the detail message.s
- The key for the detail message.public Command.Fault(I18NResourceBundle i18n, java.lang.String s, java.lang.Object o)
i18n
- A resource bundle in which to find the detail message.s
- The key for the detail message.o
- An argument to be formatted with the detail message by
MessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)
public Command.Fault(I18NResourceBundle i18n, java.lang.String s, java.lang.Object[] o)
i18n
- A resource bundle in which to find the detail message.s
- The key for the detail message.o
- An array of arguments to be formatted with the detail message by
MessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)
public Command.Fault(CommandContext.Fault e)
e
- A CommandContext.Fault to wrap.Method Detail |
---|
public Command getCommand()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |