ThirdpartyException.java 792 B

12345678910111213141516171819202122232425262728293031323334353637
  1. package com.keao.edu.thirdparty.exception;
  2. import com.keao.edu.util.string.MessageFormatter;
  3. public class ThirdpartyException extends RuntimeException {
  4. /**
  5. *
  6. */
  7. private static final long serialVersionUID = -4562885563376566463L;
  8. public ThirdpartyException() {
  9. super();
  10. }
  11. public ThirdpartyException(String message) {
  12. super(message);
  13. }
  14. public ThirdpartyException(Throwable cause) {
  15. super(cause);
  16. }
  17. public ThirdpartyException(String message, Throwable cause) {
  18. super(message, cause);
  19. }
  20. public ThirdpartyException(String message, Object... arguments) {
  21. super(MessageFormatter.arrayFormat(message, arguments));
  22. }
  23. public ThirdpartyException(String message, Throwable cause, Object... args) {
  24. super(MessageFormatter.arrayFormat(message, args), cause);
  25. }
  26. }