com.sun.javatest
public static class TestFinder.Fault extends java.lang.Exception
Constructor and Description |
---|
TestFinder.Fault(I18NResourceBundle i18n,
java.lang.String msgKey)
Create a Fault.
|
TestFinder.Fault(I18NResourceBundle i18n,
java.lang.String msgKey,
java.lang.Object arg)
Create a Fault.
|
TestFinder.Fault(I18NResourceBundle i18n,
java.lang.String msgKey,
java.lang.Object[] args)
Create a Fault.
|
public TestFinder.Fault(I18NResourceBundle i18n, java.lang.String msgKey)
i18n
- A resource bundle in which to find the detail message.msgKey
- The key for the detail message.public TestFinder.Fault(I18NResourceBundle i18n, java.lang.String msgKey, java.lang.Object arg)
i18n
- A resource bundle in which to find the detail message.msgKey
- The key for the detail message.arg
- An argument to be formatted with the detail message by
MessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)
public TestFinder.Fault(I18NResourceBundle i18n, java.lang.String msgKey, java.lang.Object[] args)
i18n
- A resource bundle in which to find the detail message.msgKey
- The key for the detail message.args
- An array of arguments to be formatted with the detail message by
MessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)
Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.