NewsletterReplicationException.java
1.11 KB
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
46
47
48
49
50
51
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.cq.mcm.campaign;
import com.adobe.cq.mcm.campaign.NewsletterException;
public class NewsletterReplicationException
extends NewsletterException {
private final String userID;
private final String path;
private final Type type;
public NewsletterReplicationException(String message, Throwable throwable, Type type, String userId, String path) {
super(message, throwable);
this.type = type;
this.userID = userId;
this.path = path;
}
public NewsletterReplicationException(String message, Throwable throwable, Type type) {
this(message, throwable, type, null, null);
}
public NewsletterReplicationException(String message, Throwable throwable) {
this(message, throwable, Type.GENERIC);
}
public String getUserID() {
return this.userID;
}
public String getPath() {
return this.path;
}
public Type getType() {
return this.type;
}
public static enum Type {
NO_ACCESS,
GENERIC;
private Type() {
}
}
}