java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.bzdev.obnaming.NamedObjectFactory.ConfigException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- NamedObjectFactory<F extends NamedObjectFactory<F,
NMR, NMD, OBJ>, NMR extends ObjectNamerOps<NMD>, NMD extends NamedObjectOps, OBJ extends NMD>
Configuration exception.
This class can encapsulate an instance of
IllegalArgumentException
,
IllegalStateException
,
UnsupportedOperationException
, or
IndexOutOfBoundsException
.
The constructors are accessible only within the org.bzdev.obnaming
package, although instances can be created by several protected methods
defined by NamedObjectFactory
:
newConfigExceptionInstance
(String, IllegalArgumentException).newConfigExceptionInstance
(String, IllegalStateException).newConfigExceptionInstance
(String, UnsupportedOperationException).newConfigExceptionInstance
(String, Object, IllegalArgumentException).newConfigExceptionInstance
(String, Object, IllegalStateException).newConfigExceptionInstance
(String, Object, UnsupportedOperationException).newConfigExceptionInstance
(String, Object, IndexOutOfBoundsException).
this class
. Any subclass that overrides
an "add" or "set" method must ensure that this exception is thrown.- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString