001
014
015 package com.liferay.portal;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018
019
022 public class LayoutParentLayoutIdException extends PortalException {
023
024
027 public static final int FIRST_LAYOUT_HIDDEN = 4;
028
029 public static final int FIRST_LAYOUT_TYPE = 3;
030
031 public static final int NOT_PARENTABLE = 1;
032
033 public static final int NOT_SORTABLE = 5;
034
035 public static final int SELF_DESCENDANT = 2;
036
037 public LayoutParentLayoutIdException(int type) {
038 _type = type;
039 }
040
041 public int getType() {
042 return _type;
043 }
044
045 private int _type;
046
047 }