edu.neu.ccs.filter
Class FilterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.neu.ccs.filter.FilterException
- All Implemented Interfaces:
- Serializable
- public class FilterException
- extends Exception
Exception to be thrown by a filter
when the object to be filtered
does not meet the criteria for the filter.
- Since:
- 1.0
- Version:
- 2.2
- See Also:
- Serialized Form
|
Field Summary |
protected Stringable |
obj
The Stringable object that failed
the filtering process, with its state set to the value
that was current at the time the exception was thrown. |
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
|
Method Summary |
Stringable |
getModel()
Returns the model object that failed the filtering process
with its state set to the value that was current
at the time the exception was thrown. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
obj
protected Stringable obj
- The
Stringable object that failed
the filtering process, with its state set to the value
that was current at the time the exception was thrown.
FilterException
public FilterException(Stringable model)
- Constructs a filter exception
with the given model and no detail messsage.
- Parameters:
model - the data model that failed the filter process- See Also:
FilterException(Stringable, String)
FilterException
public FilterException(Stringable model,
String message)
- Constructs a filter exception
with the given model and detail messsage.
- Parameters:
model - the data model that failed the filter processmessage - the error message for this exception- See Also:
FilterException(Stringable)
getModel
public Stringable getModel()
- Returns the model object that failed the filtering process
with its state set to the value that was current
at the time the exception was thrown.