mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-25 06:16:00 +00:00
Issue #580 Rename invalid identifiers commandline fix
Issue #428 PDF export Commandline FlashPaper to PDF export Select frames / Characters commandline options
This commit is contained in:
53
libsrc/gnujpdf/src/gnu/jpdf/StringTooLongException.java
Normal file
53
libsrc/gnujpdf/src/gnu/jpdf/StringTooLongException.java
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* $Id: StringTooLongException.java,v 1.1 2007/08/22 01:02:32 gil1 Exp $
|
||||
*
|
||||
* $Date: 2007/08/22 01:02:32 $
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
package gnu.jpdf;
|
||||
|
||||
|
||||
/**
|
||||
* <p>This exception is thrown from {@link gnu.jpdf.BoundingBox} if the
|
||||
* string won't fit into the box</p>
|
||||
*
|
||||
* @author Eric Z. Beard, erizbeard@hotmail.com
|
||||
* @version $Revision: 1.1 $ $Date: 2007/08/22 01:02:32 $
|
||||
*/
|
||||
public class StringTooLongException extends Exception {
|
||||
private String msg;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Normally this exception is constructed with a message containing
|
||||
* information about the sizes of the parent and child box, and maybe the
|
||||
* string that caused the overflow.</p>
|
||||
*
|
||||
* @param msg a <code>String</code>, some informative message for the logs
|
||||
*/
|
||||
public StringTooLongException(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return msg;
|
||||
}
|
||||
} // end class StringTooLongException
|
||||
Reference in New Issue
Block a user