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,InvalidGradeItemNameException,MultipleAssignmentSavingException,UnknownUserException,UnmappableCourseGradeOverrideException
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
-
-
Constructor Summary
Constructors Constructor Description GradebookException(String message)GradebookException(Throwable t)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-