summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/exceptions/InvalidClassNameException.java
blob: caa468e8db6bb254bc88e41dc419afe62c21bbe2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package ftbsc.lll.exceptions;

/**
 * Thrown when the user provides manually an invalid class name.
 */
public class InvalidClassNameException extends RuntimeException {

   /**
    * Constructs a new exception for the specified name.
    * @param name the name in question
    */
   public InvalidClassNameException(String name) {
      super(String.format("Provided class name %s is not valid!", name));
   }
}