at.gv.egiz.pdfas.exceptions.pdf
Class CaptionNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byat.gv.egiz.pdfas.api.exceptions.PdfAsException
              extended byat.knowcenter.wag.egov.egiz.exceptions.PresentableException
                  extended byat.knowcenter.wag.egov.egiz.exceptions.PDFDocumentException
                      extended byat.gv.egiz.pdfas.exceptions.pdf.CaptionNotFoundException
All Implemented Interfaces:
Serializable

public class CaptionNotFoundException
extends PDFDocumentException

Exception thrown when a caption ("label") is not found in the content stream when determining the placeholders.

This usually happens when the space for a caption is too small. Then the caption is wrapped into two lines and usually the separating whitespace is lost thus the BinarySignature is unable to find the caption String.

Author:
wprinz
See Also:
Serialized Form

Field Summary
protected  String caption
          The problematic caption.
 
Fields inherited from class at.gv.egiz.pdfas.api.exceptions.PdfAsException
errorCode
 
Constructor Summary
CaptionNotFoundException(String caption)
          Constructor.
 
Method Summary
 String getCaption()
          Returns the problematic caption.
 
Methods inherited from class at.gv.egiz.pdfas.api.exceptions.PdfAsException
getErrorCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

caption

protected String caption
The problematic caption.

Constructor Detail

CaptionNotFoundException

public CaptionNotFoundException(String caption)
Constructor.

Parameters:
caption - The problematic caption.
Method Detail

getCaption

public String getCaption()
Returns the problematic caption.

Returns:
Returns the problematic caption.


Copyright © 2006-2010. All Rights Reserved.