org.sakaiproject.service.gradebook.shared
Class GradebookException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.sakaiproject.service.gradebook.shared.GradebookException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AssessmentNotFoundException, AssignmentHasIllegalPointsException, ConflictingAssignmentNameException, ConflictingCategoryNameException, ConflictingExternalIdException, ConflictingSpreadsheetNameException, GradebookNotFoundException, InvalidCategoryException, InvalidGradeException, MultipleAssignmentSavingException, UnknownUserException
public class GradebookException
- extends RuntimeException
An exception thrown by the gradebook application. If a gradebook
client does not want to handle each of the gradebook's specific exceptions
individually, it can simply deal with GradebookException to handle all possible
exceptions.
These were changed to runtime exceptions after the 2.1 release to make
it easier to throw them while using Hibernate. By default, Spring will
mark a transaction as rollback-only when a runtime exception is thrown
by a proxied method but will leave the transaction alone when a checked
exception is thrown. To preserve the original transaction-preserving
behavior, this exception class is explicitly called out in the Spring
TransactionProxyFactoryBean configuration file using the following syntax:
PROPAGATION_REQUIRED,+org.sakaiproject.service.gradebook.shared.GradebookException
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
GradebookException
protected GradebookException(String message)
GradebookException
protected GradebookException(Throwable t)
Copyright © 2003-2013 Sakai Project. All Rights Reserved.