001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
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    }