1
14
15 package com.liferay.portal;
16
17
22 public class LayoutFriendlyURLException extends PortalException {
23
24 public static final int ADJACENT_SLASHES = 4;
25
26 public static final int DOES_NOT_START_WITH_SLASH = 1;
27
28 public static final int DUPLICATE = 6;
29
30 public static final int ENDS_WITH_SLASH = 2;
31
32 public static final int INVALID_CHARACTERS = 5;
33
34 public static final int KEYWORD_CONFLICT = 7;
35
36 public static final int POSSIBLE_DUPLICATE = 8;
37
38 public static final int TOO_DEEP = 9;
39
40 public static final int TOO_SHORT = 3;
41
42 public LayoutFriendlyURLException(int type) {
43 _type = type;
44 }
45
46 public String getKeywordConflict() {
47 return _keywordConflict;
48 }
49
50 public int getType() {
51 return _type;
52 }
53
54 public void setKeywordConflict(String keywordConflict) {
55 _keywordConflict = keywordConflict;
56 }
57
58 private String _keywordConflict;
59 private int _type;
60
61 }