
com.itextpdf.pdfcleanup.exceptions.CleanupExceptionMessageConstant Maven / Gradle / Ivy
The newest version!
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2024 Apryse Group NV
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
AGPL licensing:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
package com.itextpdf.pdfcleanup.exceptions;
/**
* Class that bundles all the error message templates as constants.
*/
public final class CleanupExceptionMessageConstant {
public static final String DEFAULT_APPEARANCE_NOT_FOUND = "DefaultAppearance is required but not found";
public static final String NONINVERTIBLE_MATRIX_CANNOT_BE_PROCESSED = "A noninvertible matrix has been parsed. "
+ "The behaviour is unpredictable.";
public static final String PDF_DOCUMENT_MUST_BE_OPENED_IN_STAMPING_MODE = "PdfDocument must be opened in stamping "
+ "mode.";
// Do not remove, it's used in .NET
// This same exception message is thrown in CleanUpImageUtil#cleanImage when the image format is unsupported
public static final String UNSUPPORTED_IMAGE_TYPE = "Unsupported image type";
public static final String OVERLAP_RATIO_SHOULD_BE_IN_RANGE = "Overlap ratio should be in range (0, 1]";
private CleanupExceptionMessageConstant(){
//empty constructor
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy