Class ObjectCreationNotAllowedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.redwood.scheduler.infrastructure.exception.SchedulerRuntimeException
-
- com.redwood.scheduler.api.exception.SchedulerAPIRuntimeException
-
- com.redwood.scheduler.api.exception.ObjectCreationNotAllowedException
-
- All Implemented Interfaces:
ExceptionData
,Serializable
@Generated("build/redwood/jbs/generated-exceptions/Exceptions.java.tmpl") public class ObjectCreationNotAllowedException extends SchedulerAPIRuntimeException
The object could not be created since it would violate the object constraints.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ObjectCreationNotAllowedException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
ObjectCreationNotAllowedException(Throwable cause, String objectType)
The object could not be created since it would violate the object constraints.
-
Method Summary
-
Methods inherited from class com.redwood.scheduler.infrastructure.exception.SchedulerRuntimeException
bestException, getDefaultMessageFormat, getErrorCode, getExceptionData, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageUnformatted, getTranslation, isSystemLoggable, skipException, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ObjectCreationNotAllowedException
protected ObjectCreationNotAllowedException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
-
ObjectCreationNotAllowedException
public ObjectCreationNotAllowedException(Throwable cause, String objectType)
The object could not be created since it would violate the object constraints.- Parameters:
cause
- The originating exception, null if this is the originating exceptionobjectType
- Type of the object that could not be created.
-
-