Class PropertyAccessException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.espertech.esper.common.client.PropertyAccessException
All Implemented Interfaces:
Serializable

public final class PropertyAccessException extends RuntimeException
This exception is thrown to indicate a problem with a accessing a property of an EventBean.
See Also:
  • Constructor Details

    • PropertyAccessException

      public PropertyAccessException(String message, String propertyExpression)
      Constructor.
      Parameters:
      message - is the error message
      propertyExpression - property expression
    • PropertyAccessException

      public PropertyAccessException(String message, Throwable cause)
      Constructor for an inner exception and message.
      Parameters:
      message - is the error message
      cause - is the inner exception
    • PropertyAccessException

      public PropertyAccessException(String message)
      Constructor for an inner exception and message.
      Parameters:
      message - is the error message
    • PropertyAccessException

      public PropertyAccessException(Throwable cause)
      Constructor.
      Parameters:
      cause - is the inner exception
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • notAValidProperty

      public static PropertyAccessException notAValidProperty(String propertyExpression)
      Generates the Not-A-Valid-Property exception
      Parameters:
      propertyExpression - property expression
      Returns:
      exception exception