Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.javatest
Class TestSuite.Fault

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              com.sun.javatest.TestSuite.Fault

All Implemented Interfaces:
  java.io.Serializable

Direct Known Subclasses:
  TestSuite.DuplicateLogNameFault, TestSuite.NoSuchLogFault, TestSuite.NotTestSuiteFault

Enclosing class:
  TestSuite

    public static class TestSuite.Fault

extends java.lang.Exception

An exception used to report errors while using a TestSUite object.

See Also:
  Serialized Form

Constructor Summary
`TestSuite.Fault(I18NResourceBundle i18n, java.lang.String s)` Create a Fault.
`TestSuite.Fault(I18NResourceBundle i18n, java.lang.String s, java.lang.Object o)` Create a Fault.
`TestSuite.Fault(I18NResourceBundle i18n, java.lang.String s, java.lang.Object[] o)` Create a Fault.

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

### TestSuite.Fault

    public TestSuite.Fault(I18NResourceBundle i18n,
                           java.lang.String s)

  Create a Fault.

  Parameters:
    `i18n` - A resource bundle in which to find the detail message.
    `s` - The key for the detail message.

### TestSuite.Fault

    public TestSuite.Fault(I18NResourceBundle i18n,
                           java.lang.String s,
                           java.lang.Object o)

  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 by `MessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)`

### TestSuite.Fault

    public TestSuite.Fault(I18NResourceBundle i18n,
                           java.lang.String s,
                           java.lang.Object[] o)

  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 by `MessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.