1 package io.bytom.exception;
4 * HTTPException wraps generic HTTP errors.
6 public class HTTPException extends BytomException {
8 * Initializes exception with its message attribute.
9 * @param message error message
11 public HTTPException(String message) {
16 * Initializes new exception while storing original cause.
17 * @param message the error message
18 * @param cause the original cause
20 public HTTPException(String message, Throwable cause) {
21 super(message, cause);