org.apache.batik.css
Class CSSDOMExceptionFactory
java.lang.Object
|
+--org.apache.batik.css.CSSDOMExceptionFactory
- public class CSSDOMExceptionFactory
- extends java.lang.Object
This class contains a method to create a DOMException object
with a localized message. The localization of the CSS engine
is effective for each instance in the JVM.
Method Summary |
static DOMException |
createDOMException(short type,
java.lang.String key,
java.lang.Object[] args)
Creates an exception with the appropriate error message. |
static void |
setLocale(java.util.Locale l)
Sets the locale used for error messages. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCES
protected static final java.lang.String RESOURCES
- The resource bundle class name.
LOCALIZABLE_SUPPORT
protected static final LocalizableSupport LOCALIZABLE_SUPPORT
- The localizable support for the error messages.
CSSDOMExceptionFactory
protected CSSDOMExceptionFactory()
- This class does not need to be instantiated.
setLocale
public static void setLocale(java.util.Locale l)
- Sets the locale used for error messages.
createDOMException
public static DOMException createDOMException(short type,
java.lang.String key,
java.lang.Object[] args)
- Creates an exception with the appropriate error message.
- Parameters:
type
- The DOMException type.key
- The message key in the resource bundle.args
- The message arguments.
Copyright © 2001 Apache Software Foundation. All Rights Reserved.