summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/exceptions/AmbiguousDefinitionException.java
blob: 1befaa829602a8a986eed9248e8f388fab2483b9 (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
package ftbsc.lll.exceptions;

/**
 * Thrown when the processor finds multiple methods matching the
 * given criteria.
 */
public class AmbiguousDefinitionException extends RuntimeException {

   /**
    * Constructs a new ambiguous definition exception with the specified detail message.
    * @param message the detail message
    */
   public AmbiguousDefinitionException(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 AmbiguousDefinitionException(String message, Throwable cause) {
      super(message, cause);
   }
}