summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/exceptions/AmbiguousMappingException.java
blob: 794759a6810e9b967a3b84e2857b23e4e8737a9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package ftbsc.lll.exceptions;

import ftbsc.lll.mapper.IMapper;

/**
 * Thrown when a given {@link IMapper} cannot uniquely identify a mapping with
 * the given data.
 */
public class AmbiguousMappingException extends RuntimeException {

   /**
    * Constructs a new ambiguous mapping definition exception with the specified detail message.
    * @param message the detail message
    */
   public AmbiguousMappingException(String message) {
      super(message);
   }

   /**
    * Constructs a new ambiguous definition exception with the specified detail message and cause.
    * @param  message the detail message
    * @param  cause the cause, may be null (indicating nonexistent or unknown cause)
    */
   public AmbiguousMappingException(String message, Throwable cause) {
      super(message, cause);
   }
}