aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/exceptions/InjectionException.java
blob: 3695a9201ad945a71cd21097044289c617342109 (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
28
29
30
31
32
33
package ftbsc.lll.exceptions;

/**
 * Thrown when the injection of a patch fails.
 */
public class InjectionException extends RuntimeException {

   /**
    * Constructs a new injection exception with the specified detail message.
    * @param message the detail message
    */
   public InjectionException(String message) {
      super(message);
   }

   /**
    * Constructs a new injection 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 InjectionException(String message, Throwable cause) {
      super(message, cause);
   }

   /**
    * Constructs a new injection exception with the specified cause and a
    * detail message of {@code (cause==null ? null : cause.toString())}
    * @param  cause the cause, may be null (indicating nonexistent or unknown cause)
    */
   public InjectionException(Throwable cause) {
      super(cause);
   }
}