public static class Main.Fault
extends java.lang.Exception
Constructor and Description |
---|
Main.Fault(I18NResourceBundle i18n,
java.lang.String key)
Create a BadArgs exception.
|
Main.Fault(I18NResourceBundle i18n,
java.lang.String key,
java.lang.Object arg)
Create a BadArgs exception.
|
Main.Fault(I18NResourceBundle i18n,
java.lang.String key,
java.lang.Object[] args)
Create a BadArgs exception.
|
public Main.Fault(I18NResourceBundle i18n, java.lang.String key)
i18n
- A resource bundle in which to find the detail message.key
- The key for the detail message.public Main.Fault(I18NResourceBundle i18n, java.lang.String key, java.lang.Object arg)
i18n
- A resource bundle in which to find the detail message.key
- 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 Main.Fault(I18NResourceBundle i18n, java.lang.String key, java.lang.Object[] args)
i18n
- A resource bundle in which to find the detail message.key
- 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, 2014, Oracle and/or its affiliates. All rights reserved.