Coverage Report - com.lexicalscope.jewel.cli.InvalidOptionSpecificationException
 
Classes in this File Line Coverage Branch Coverage Complexity
InvalidOptionSpecificationException
25%
2/8
N/A
1
 
 1  
 package com.lexicalscope.jewel.cli;
 2  
 
 3  
 import com.lexicalscope.jewel.JewelRuntimeException;
 4  
 
 5  
 /**
 6  
  * The specification of the options is not valid
 7  
  * 
 8  
  * @author tim
 9  
  */
 10  
 public class InvalidOptionSpecificationException extends JewelRuntimeException
 11  
 {
 12  
     private static final long serialVersionUID = -5023726790561988859L;
 13  
 
 14  
     /**
 15  
      * A new exception with no message
 16  
      */
 17  
     public InvalidOptionSpecificationException()
 18  
     {
 19  0
         super();
 20  0
     }
 21  
 
 22  
     /**
 23  
      * A new exception with the given message and cause
 24  
      * 
 25  
      * @param message
 26  
      *            The message
 27  
      * @param cause
 28  
      *            The cause
 29  
      */
 30  
     public InvalidOptionSpecificationException(final String message, final Throwable cause)
 31  
     {
 32  0
         super(message, cause);
 33  0
     }
 34  
 
 35  
     /**
 36  
      * A new exception with the given message
 37  
      * 
 38  
      * @param message
 39  
      *            The message
 40  
      */
 41  
     public InvalidOptionSpecificationException(final String message)
 42  
     {
 43  4
         super(message);
 44  4
     }
 45  
 
 46  
     /**
 47  
      * A new exception with the given cause
 48  
      * 
 49  
      * @param cause
 50  
      *            The cause
 51  
      */
 52  
     public InvalidOptionSpecificationException(final Throwable cause)
 53  
     {
 54  0
         super(cause);
 55  0
     }
 56  
 }