Class ReductionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.microbean.bean.BeanException
org.microbean.bean.ReductionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AmbiguousReductionException
,UnsatisfiedReductionException
A
BeanException
concerning problematic reductions.- Author:
- Laird Nelson
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReductionException
(Object criteria, String message, Throwable cause) Creates a newReductionException
. -
Method Summary
Modifier and TypeMethodDescriptionfinal Object
criteria()
Returns thisReductionException
's criteria object, which may benull
.toString()
Returns aString
reprsentation of thisReductionException
.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ReductionException
Creates a newReductionException
.- Parameters:
criteria
- anObject
representing reduction criteria; may benull
message
- a detail message; may benull
cause
- aThrowable
that caused thisReductionException
to be created; may benull
-
-
Method Details
-
criteria
Returns thisReductionException
's criteria object, which may benull
.- Returns:
- this
ReductionException
's criteria object, which may benull
-
toString
Returns aString
reprsentation of thisReductionException
.- Overrides:
toString
in classThrowable
- Returns:
- a
String
reprsentation of thisReductionException
; nevernull
-