Class BeanPropertyException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.osgi.service.cdi.propertytypes.BeanPropertyException
All Implemented Interfaces:
Serializable

public class BeanPropertyException extends 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 method Long test(); is applied to a component property "test" of type String.
See Also:
  • Constructor Details

    • BeanPropertyException

      public BeanPropertyException(String message)
      Create a Bean Property Exception with a message.
      Parameters:
      message - The message for this exception.
    • BeanPropertyException

      public BeanPropertyException(String message, 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.