|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.milyn.SmooksException
org.milyn.javabean.dynamic.BeanRegistrationException
public class BeanRegistrationException
Bean Registration Exception.
See factory methods..
| Method Summary | |
|---|---|
static void |
throwBeanInstanceAlreadyRegisteredException(Object bean)
Throw a BeanRegistrationException exception for the specified bean instance that
is already registered. |
static void |
throwBeanNotAnnotatedWithDefaultNamespace(Object bean)
Throw a BeanRegistrationException exception for a bean that is not annotated with the
DefaultNamespace annotation. |
static void |
throwUnregisteredBeanInstanceException(Object bean)
Throw a BeanRegistrationException exception for the specified "unregistered" bean instance. |
| 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 |
| Method Detail |
|---|
public static void throwUnregisteredBeanInstanceException(Object bean)
throws BeanRegistrationException
BeanRegistrationException exception for the specified "unregistered" bean instance.
This exception is thrown when one of the root bean instances for a namespace used within
a model doesn't have registered BeanMetadata
(via the Model.registerBean(Object)).
bean - The unknown bean instance.
BeanRegistrationException - The exception.
public static void throwBeanInstanceAlreadyRegisteredException(Object bean)
throws BeanRegistrationException
BeanRegistrationException exception for the specified bean instance that
is already registered.
bean - The bean instance.
BeanRegistrationException - The exception.
public static void throwBeanNotAnnotatedWithDefaultNamespace(Object bean)
throws BeanRegistrationException
BeanRegistrationException exception for a bean that is not annotated with the
DefaultNamespace annotation.
All namespace root bean types must be annotated with the DefaultNamespace
annotation.
bean - The bean instance.
BeanRegistrationException - The exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||