Class BeanException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.pentaho.reporting.engine.classic.core.util.beans.BeanException
-
- All Implemented Interfaces:
Serializable
public class BeanException extends Exception
The BeanException class signals errors when setting or reading bean properties.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BeanException
getInstance(String message, Throwable cause)
String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 textex
- the parent exception
-
BeanException
public BeanException(String message)
Creates a new BeanException with the given message.- Parameters:
message
- the message.
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getInstance
public static BeanException getInstance(String message, Throwable cause)
-
-