org.jpedal.exception.PdfException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of OpenViewerFX Show documentation
Show all versions of OpenViewerFX Show documentation
Open Source (LGPL) JavaFX PDF Viewer
/*
* ===========================================
* Java Pdf Extraction Decoding Access Library
* ===========================================
*
* Project Info: http://www.idrsolutions.com
* Help section for developers at http://www.idrsolutions.com/support/
*
* (C) Copyright 1997-2017 IDRsolutions and Contributors.
*
* This file is part of JPedal/JPDF2HTML5
*
@LICENSE@
*
* ---------------
* PdfException.java
* ---------------
*/
package org.jpedal.exception;
/**
* a generic exception which code can throw if there is an error
*/
public class PdfException extends Exception {
/**
* feedback on exception
*/
protected String error_message = "";
/**
* display the error message
*/
@Override
public String getMessage() {
return error_message;
}
public PdfException() {
}
/**
* set message at exception
*
* @param message is of type String.
*/
public PdfException(final String message) {
super(message);
error_message = message;
}
public PdfException(final String message, final Throwable cause) {
super(message, cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy