001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal;
016    
017    import com.liferay.portal.kernel.exception.PortalException;
018    import com.liferay.portal.kernel.util.Tuple;
019    
020    import java.util.List;
021    
022    /**
023     * @author Julio Camarero
024     */
025    public class LayoutPrototypeException extends PortalException {
026    
027            public LayoutPrototypeException() {
028                    super();
029            }
030    
031            public LayoutPrototypeException(List<Tuple> missingLayoutPrototypes) {
032                    super();
033    
034                    _missingLayoutPrototypes = missingLayoutPrototypes;
035            }
036    
037            public LayoutPrototypeException(String msg) {
038                    super(msg);
039            }
040    
041            public LayoutPrototypeException(String msg, Throwable cause) {
042                    super(msg, cause);
043            }
044    
045            public LayoutPrototypeException(Throwable cause) {
046                    super(cause);
047            }
048    
049            public List<Tuple> getMissingLayoutPrototypes() {
050                    return _missingLayoutPrototypes;
051            }
052    
053            public void setMissingLayoutPrototypes(
054                    List<Tuple> missingLayoutPrototypes) {
055    
056                    _missingLayoutPrototypes = missingLayoutPrototypes;
057            }
058    
059            private List<Tuple> _missingLayoutPrototypes;
060    
061    }