Package pdf

Class StringTooLongException

  • All Implemented Interfaces:
    java.io.Serializable

    public class StringTooLongException
    extends java.lang.Exception

    This exception is thrown from gnu.jpdf.BoundingBox if the string won't fit into the box

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      StringTooLongException​(java.lang.String msg)
      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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StringTooLongException

        public StringTooLongException​(java.lang.String msg)

        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.

        Parameters:
        msg - a String, some informative message for the logs
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable