Package com.sun.javatest
Class TestSuite.Fault
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.javatest.TestSuite.Fault
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TestSuite.DuplicateLogNameFault
,TestSuite.NoSuchLogFault
,TestSuite.NotTestSuiteFault
- Enclosing class:
TestSuite
An exception used to report errors while using a TestSUite object.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFault
(I18NResourceBundle i18n, String s) Create a Fault.Fault
(I18NResourceBundle i18n, String s, Object o) Create a Fault.Fault
(I18NResourceBundle i18n, String s, Object... o) Create a Fault. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Fault
Create a Fault.- Parameters:
i18n
- A resource bundle in which to find the detail message.s
- The key for the detail message.
-
Fault
Create a Fault.- Parameters:
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 byMessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)
-
Fault
Create a Fault.- Parameters:
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 byMessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)
-