Class BeanException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BeanInstantiationException, BeanMethodInvokeException, BeanPropertyGetException, BeanPropertySetException

public abstract class BeanException extends EmpireException
BeanException Base class for bean related exceptions
Author:
doebele
See Also:
  • Constructor Details

    • BeanException

      protected BeanException(ErrorType errType, String[] params, Throwable cause)
      Constructor
      Parameters:
      errType - the error type
      params - the error params
      cause - the causing exception
  • Method Details

    • getCause

      protected static Exception getCause(ReflectiveOperationException e)
      Returns the root cause of a ReflectiveOperationException such as InvocationTargetException
      Parameters:
      e - the ReflectiveOperationException
      Returns:
      the causing exception
    • getTypeName

      protected static String getTypeName(Object object)
    • log

      protected void log()
      log the error
      Overrides:
      log in class EmpireException