org.pentaho.reporting.engine.classic.core.util.beans
Class BeanException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.pentaho.reporting.libraries.base.util.StackableException
              extended by org.pentaho.reporting.engine.classic.core.util.beans.BeanException
All Implemented Interfaces:
Serializable

public class BeanException
extends org.pentaho.reporting.libraries.base.util.StackableException

The BeanException class signals errors when setting or reading bean properties.

Author:
Thomas Morgner
See Also:
Serialized Form

Constructor Summary
BeanException()
          DefaultConstructor.
BeanException(String message)
          Creates a new BeanException with the given message.
BeanException(String message, Throwable ex)
          Creates a new BeanException with the given message and parent exception.
 
Method Summary
static BeanException getInstance(String message, Throwable cause)
           
 
Methods inherited from class org.pentaho.reporting.libraries.base.util.StackableException
getMessage, getParent, getParentThrowable, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanException

public BeanException()
DefaultConstructor.


BeanException

public BeanException(String message,
                     Throwable ex)
Creates a new BeanException with the given message and parent exception.

Parameters:
message - the message text
ex - the parent exception

BeanException

public BeanException(String message)
Creates a new BeanException with the given message.

Parameters:
message - the message.
Method Detail

getInstance

public static BeanException getInstance(String message,
                                        Throwable cause)