Class SchedulerConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opencastproject.scheduler.api.SchedulerException
org.opencastproject.scheduler.api.SchedulerConflictException
- All Implemented Interfaces:
Serializable,org.opencastproject.rest.ErrorCodeException
public class SchedulerConflictException
extends SchedulerException
implements org.opencastproject.rest.ErrorCodeException
Thrown when a scheduled event can not be added or updated because of a conflict.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSchedulerConflictException(String message) Build a new scheduler conflict exception with a messageSchedulerConflictException(String message, Throwable cause) Build a new scheduler conflict exception with a message and an original cause.Build a new scheduler conflict exception from the original cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opencastproject.rest.ErrorCodeException
getMessage
-
Field Details
-
ERROR_CODE
- See Also:
-
-
Constructor Details
-
SchedulerConflictException
Build a new scheduler conflict exception with a message and an original cause.- Parameters:
message- the error messagecause- the original exception causing this scheduler conflict exception to be thrown
-
SchedulerConflictException
Build a new scheduler conflict exception from the original cause.- Parameters:
cause- the original exception causing this scheduler conflict exception to be thrown
-
SchedulerConflictException
Build a new scheduler conflict exception with a message- Parameters:
message- the error message
-
-
Method Details
-
getErrorCode
- Specified by:
getErrorCodein interfaceorg.opencastproject.rest.ErrorCodeException
-