Class BeanPropertyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.osgi.service.cdi.propertytypes.BeanPropertyException
-
- All Implemented Interfaces:
java.io.Serializable
public class BeanPropertyException extends java.lang.RuntimeException
This Runtime Exception is thrown when a Bean Property Type method attempts an invalid component property coercion. For example when the bean property type methodLong test();
is applied to a component property"test"
of type String.- Author:
- $Id: d327e88aecae3542261018191731d784a0fa9cde $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BeanPropertyException(java.lang.String message)
Create a Bean Property Exception with a message.BeanPropertyException(java.lang.String message, java.lang.Throwable cause)
Create a Bean Property Exception with a message and a nested cause.
-
-
-
Constructor Detail
-
BeanPropertyException
public BeanPropertyException(java.lang.String message)
Create a Bean Property Exception with a message.- Parameters:
message
- The message for this exception.
-
BeanPropertyException
public BeanPropertyException(java.lang.String message, java.lang.Throwable cause)
Create a Bean Property Exception with a message and a nested cause.- Parameters:
message
- The message for this exception.cause
- The causing exception.
-
-