001 /** 002 * Copyright (c) 2000-present 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.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 } 034 035 public PortalException(String msg) { 036 super(msg); 037 } 038 039 public PortalException(String msg, Throwable cause) { 040 super(msg, cause); 041 } 042 043 public PortalException(Throwable cause) { 044 super(cause); 045 } 046 047 }