Class ObjectCreationNotAllowedException

    • 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 exception
        objectType - Type of the object that could not be created.