Advertisement
Guest User

Untitled

a guest
Jan 19th, 2013
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. /**
  2. * The contents of this file are subject to the OpenMRS Public License
  3. * Version 1.0 (the "License"); you may not use this file except in
  4. * compliance with the License. You may obtain a copy of the License at
  5. * http://license.openmrs.org
  6. *
  7. * Software distributed under the License is distributed on an "AS IS"
  8. * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
  9. * License for the specific language governing rights and limitations
  10. * under the License.
  11. *
  12. * Copyright (C) OpenMRS, LLC. All Rights Reserved.
  13. */
  14. package org.openmrs.api;
  15.  
  16. public class ValidationException extends APIException {
  17.  
  18. /**
  19. * General constructor to give the end user a helpful message and to also propagate the parent
  20. * error exception message.
  21. *
  22. * @param message helpful message string for the end user
  23. * @param cause the parent exception cause that this ValidationException is wrapping around
  24. */
  25. public ValidationException(String message, Throwable cause) {
  26. super(message, cause);
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement