Coverage Report - com.nilhcem.fakesmtp.core.exception.BindPortException
 
Classes in this File Line Coverage Branch Coverage Complexity
BindPortException
0%
0/3
N/A
1
 
 1  
 package com.nilhcem.fakesmtp.core.exception;
 2  
 
 3  
 /**
 4  
  * Thrown if the SMTP port cannot be bound while trying to start the server.
 5  
  * <p>
 6  
  * A port cannot be bound...
 7  
  * </p>
 8  
  * <ul>
 9  
  *   <li>If it is already use by another application;</li>
 10  
  *   <li>If the user is not allowed to open it.<br>
 11  
  *   For example on Unix-like machines, we need to be root to open a port {@literal <} 1024.</li>
 12  
  * </ul>
 13  
  *
 14  
  * @author Nilhcem
 15  
  * @since 1.0
 16  
  */
 17  0
 public final class BindPortException extends AbstractPortException {
 18  
 
 19  
         private static final long serialVersionUID = -4019988153141714187L;
 20  
 
 21  
         public BindPortException(Exception e, int port) {
 22  0
                 super(e, port);
 23  0
         }
 24  
 }