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

import ftbsc.lll.processor.tools.SrgMapper;

/**
 * Thrown upon failure to find the requested mapping within a loaded {@link SrgMapper}.
 */
public class MappingNotFoundException extends RuntimeException {

   /**
    * Constructs a new mapping not found exception for the specified mapping.
    * @param mapping the detail message
    */
   public MappingNotFoundException(String mapping) {
      super("Could not find mapping for " + mapping + "!");
   }
}