1 package com.nilhcem.fakesmtp.core.exception;
2
3 /**
4 * Thrown if the SMTP port is invalid while trying to start the server.
5 * <p>
6 * SMTP port can be invalid if it contains some characters, other than numbers.
7 * </p>
8 *
9 * @author Nilhcem
10 * @since 1.0
11 */
12 public final class InvalidPortException extends Exception {
13 private static final long serialVersionUID = -3964366344520192790L;
14
15 public InvalidPortException(Exception e) {
16 setStackTrace(e.getStackTrace());
17 }
18 }