gnu.jpdf
Class StringTooLongException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gnu.jpdf.StringTooLongException
All Implemented Interfaces:
java.io.Serializable

public class StringTooLongException
extends java.lang.Exception

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

See Also:
Serialized Form

Constructor Summary
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
 java.lang.String getMessage()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, 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