-
Notifications
You must be signed in to change notification settings - Fork 71
/
CREException.java
45 lines (36 loc) · 1007 Bytes
/
CREException.java
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
34
35
36
37
38
39
40
41
42
43
44
45
package com.laytonsmith.core.exceptions.CRE;
import com.laytonsmith.PureUtilities.Version;
import com.laytonsmith.annotations.typeof;
import com.laytonsmith.core.CHVersion;
import com.laytonsmith.core.constructs.CClassType;
import com.laytonsmith.core.constructs.Target;
/**
*
*/
@typeof("ms.lang.Exception")
public class CREException extends CREThrowable {
@SuppressWarnings("FieldNameHidesFieldInSuperclass")
public static final CClassType TYPE = CClassType.get("ms.lang.Exception");
public CREException(String msg, Target t) {
super(msg, t);
}
public CREException(String msg, Target t, Throwable cause) {
super(msg, t, cause);
}
@Override
public String docs() {
return "A generic exception. All normal exceptions extend this type.";
}
@Override
public Version since() {
return CHVersion.V3_3_1;
}
@Override
public CClassType[] getSuperclasses() {
return super.getSuperclasses();
}
@Override
public CClassType[] getInterfaces() {
return super.getInterfaces();
}
}