The Java class com.liferay.portal.util.PortalUtil contains a method called sendError. This method is used in the Liferay portal framework to send an error message to the user interface. It allows developers to handle and display different types of errors in a consistent and user-friendly manner. The sendError method takes parameters such as the HTTP request, response, and error code, and can be used to handle various types of errors, such as HTTP 404 (Not Found) or HTTP 500 (Internal Server Error).
Java PortalUtil.sendError - 21 examples found. These are the top rated real world Java examples of com.liferay.portal.util.PortalUtil.sendError extracted from open source projects. You can rate examples to help us improve the quality of examples.