All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cp.elements.util.paging.PageNotFoundException Maven / Gradle / Ivy

Go to download

Java Simplified. Extensions and Useful Constructs for the Java Platform. Codeprimate Elements (a.k.a. cp-elements) is a Java library and micro-framework used to simplify the development of software applications written in Java. Elements packages several APIs into one library in order to address various application concerns and aspects of software design and development collectively and conveniently. Elements is a highly simple, yet robust and proven library built on solid OO principles, software design patterns and best practices to effectively solve common and reoccurring problems in software development.

There is a newer version: 2.0.0-M1
Show newest version
/*
 * Copyright (c) 2011-Present. Codeprimate, LLC and authors.  All Rights Reserved.
 * 

* This software is licensed under the Codeprimate End User License Agreement (EULA). * This software is proprietary and confidential in addition to an intellectual asset * of the aforementioned authors. *

* By using the software, the end-user implicitly consents to and agrees to be in compliance * with all terms and conditions of the EULA. Failure to comply with the EULA will result in * the maximum penalties permissible by law. *

* In short, this software may not be reverse engineered, reproduced, copied, modified * or distributed without prior authorization of the aforementioned authors, permissible * and expressed only in writing. The authors grant the end-user non-exclusive, non-negotiable * and non-transferable use of the software "as is" without expressed or implied WARRANTIES, * EXTENSIONS or CONDITIONS of any kind. *

* For further information on the software license, the end user is encouraged to read * the EULA @ ... */ package org.cp.elements.util.paging; /** * The {@link PageNotFoundException} class is a {@link RuntimeException} indicating that a {@link Page} * could not be found in the {@link Pageable} object. * * @author John J. Blum * @see java.lang.RuntimeException * @see org.cp.elements.util.paging.Page * @see org.cp.elements.util.paging.Pageable * @since 1.0.0 */ @SuppressWarnings("unused") public class PageNotFoundException extends RuntimeException { /** * Default constructor to construct a new, uninitialized instance of {@link PageNotFoundException}. */ public PageNotFoundException() { } /** * Constructs a new instance of {@link PageNotFoundException} initialized with a given {@link String message} * to describe the {@link Page} not found error. * * @param message {@link String} describing the {@link Page} not found error. * @see java.lang.String */ public PageNotFoundException(String message) { super(message); } /** * Constructs a new instance of {@link PageNotFoundException} initialized with the given {@link Throwable} * to indicate the cause of the {@link Page} not found error. * * @param cause {@link Throwable} indicating the cause of the {@link Page} not found error. * @see java.lang.Throwable */ public PageNotFoundException(Throwable cause) { super(cause); } /** * Constructs a new instance of {@link PageNotFoundException} initialized with a given {@link String message} * to describe the {@link Page} not found error and a {@link Throwable} to indicate the cause * of the {@link Page} not found error. * * @param message {@link String} describing the {@link Page} not found error. * @param cause {@link Throwable} indicating the cause of the {@link Page} not found error. * @see java.lang.String * @see java.lang.Throwable */ public PageNotFoundException(String message, Throwable cause) { super(message, cause); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy