001    /**
002     * Copyright (c) 2000-2010 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.kernel.exception;
016    
017    /**
018     * The base class for all exceptions related to business logic. Examples include
019     * invalid input, portlet errors, and references to non existent database
020     * records.
021     *
022     * <p>
023     * Portal exceptions are generally caused by user error, and do not indicate
024     * that anything is wrong with the portal itself.
025     * </p>
026     *
027     * @author Brian Wing Shun Chan
028     * @see    SystemException
029     */
030    public class PortalException extends NestableException {
031    
032            public PortalException() {
033                    super();
034            }
035    
036            public PortalException(String msg) {
037                    super(msg);
038            }
039    
040            public PortalException(String msg, Throwable cause) {
041                    super(msg, cause);
042            }
043    
044            public PortalException(Throwable cause) {
045                    super(cause);
046            }
047    
048    }