org.jboss.weld.exceptions
Class UnserializableDependencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.weld.exceptions.WeldException
org.jboss.weld.exceptions.DeploymentException
org.jboss.weld.exceptions.UnserializableDependencyException
- All Implemented Interfaces:
- java.io.Serializable
public class UnserializableDependencyException
- extends DeploymentException
Thrown if a simple bean is dependent scoped and injected into a stateful
session bean, into a non-transient field, bean constructor parameter or
initializer method parameter of a bean which declares a passivating scope, or
into a parameter of a producer method which declares a passivating scope
- Author:
- Pete Muir
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UnserializableDependencyException
public UnserializableDependencyException(E key,
java.lang.Object... args)
- Creates a new exception with the given localized message key and optional
arguments for the message.
- Type Parameters:
E - The enumeration type for the message keys- Parameters:
key - The localized message to useargs - Optional arguments to insert into the message
UnserializableDependencyException
public UnserializableDependencyException(java.lang.Throwable throwable)
- Creates a new exception with the given cause.
- Parameters:
throwable - The cause of the exception
Copyright © 2008-2010 Seam Framework. All Rights Reserved.