/corelib-storage/src/main/java/eu/europeana/corelib/edm/exceptions/MongoDBException.java

https://gitlab.com/Aaeinstein54/corelib · Java · 39 lines · 12 code · 5 blank · 22 comment · 0 complexity · 709c9246f4b7bbdd7e8e212d9f00c65b MD5 · raw file

  1. /*
  2. * Copyright 2007-2012 The Europeana Foundation
  3. *
  4. * Licenced under the EUPL, Version 1.1 (the "Licence") and subsequent versions as approved
  5. * by the European Commission;
  6. * You may not use this work except in compliance with the Licence.
  7. *
  8. * You may obtain a copy of the Licence at:
  9. * http://joinup.ec.europa.eu/software/page/eupl
  10. *
  11. * Unless required by applicable law or agreed to in writing, software distributed under
  12. * the Licence is distributed on an "AS IS" basis, without warranties or conditions of
  13. * any kind, either express or implied.
  14. * See the Licence for the specific language governing permissions and limitations under
  15. * the Licence.
  16. */
  17. package eu.europeana.corelib.edm.exceptions;
  18. import eu.europeana.corelib.definitions.exception.EuropeanaException;
  19. import eu.europeana.corelib.definitions.exception.ProblemType;
  20. /**
  21. * Basic MongoDBException
  22. *
  23. * @author Yorgos.Mamakis@ kb.nl
  24. *
  25. */
  26. public class MongoDBException extends EuropeanaException {
  27. private static final long serialVersionUID = 4785113365867141067L;
  28. public MongoDBException(ProblemType problem) {
  29. super(problem);
  30. }
  31. public MongoDBException(Throwable causedBy,ProblemType problem) {
  32. super(causedBy,problem);
  33. }
  34. }