1 package net.avcompris.commons3.api.exception; 2 3 import javax.annotation.Nullable; 4 5 public final class UnexpectedException extends ServiceException { 6 7 private static final long serialVersionUID = 2546966591177146034L; 8 9 public UnexpectedException(@Nullable final String message) { 10 11 super(500, message); 12 } 13 14 public UnexpectedException(@Nullable final String message, @Nullable final Throwable cause) { 15 16 super(500, message, cause); 17 } 18 19 public UnexpectedException(@Nullable final Throwable cause) { 20 21 super(500, null, cause); 22 } 23 }