Top Description Fields Constructors
org.osgi.service.cdi.propertytypes

public Class BeanPropertyException

extends RuntimeException
Class Inheritance

This Runtime Exception is thrown when a Bean Property Type method attempts an invalid component property coercion. For example when the bean property type method Long test(); is applied to a component property "test" of type String.
Author
$Id: d327e88aecae3542261018191731d784a0fa9cde $

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
BeanPropertyException(String
The message for this exception.
message
)

Create a Bean Property Exception with a message.

public
BeanPropertyException(String
The message for this exception.
message
,
Throwable
The causing exception.
cause
)

Create a Bean Property Exception with a message and a nested cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

BeanPropertyExceptionback to summary
public BeanPropertyException(String message)

Create a Bean Property Exception with a message.

Parameters
message:String

The message for this exception.

BeanPropertyExceptionback to summary
public BeanPropertyException(String message, Throwable cause)

Create a Bean Property Exception with a message and a nested cause.

Parameters
message:String

The message for this exception.

cause:Throwable

The causing exception.