Class IdNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.sakaiproject.coursemanagement.api.exception.IdNotFoundException
-
- All Implemented Interfaces:
Serializable
public class IdNotFoundException extends RuntimeException
An exception thrown when an an object lookup fails because an object with the ID does not exist.- Author:
- Josh Holtzman
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdNotFoundException(String message)Constructs an IdNotFoundException with a generic message (useful when the more specific constructor isn't suitable, because we don't know what kind of ID wasn't found).IdNotFoundException(String id, String className)Constructs an IdNotFoundException indicating the class for which the id could not be located.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IdNotFoundException
public IdNotFoundException(String message)
Constructs an IdNotFoundException with a generic message (useful when the more specific constructor isn't suitable, because we don't know what kind of ID wasn't found).- Parameters:
message-
-
-