org.activemath.sequencer
Class NoAvailableExercisesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.activemath.sequencer.NoAvailableExercisesException
- All Implemented Interfaces:
- Serializable
public class NoAvailableExercisesException
- extends Exception
If we can't find exercises for the user.
We need this exception because we want to handle the problem only by the very outside (by the controller)
Returning "null" instead could work, but it's too ugly.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoAvailableExercisesException
public NoAvailableExercisesException(String context)
- Provide the reason by giving a text.
- Parameters:
context - could be any string, including saying "problem from Tutorial component" or other component.