com.xmlmill.exception
Class XMLMillRTException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.xmlmill.exception.XMLMillRTException
All Implemented Interfaces:
java.io.Serializable

public class XMLMillRTException
extends java.lang.RuntimeException

Encapsulates a XMLMill Runtime Exception.

This error represents a XMLMill Runtime Exception. A Runtime Exception indicates a problem that should not routinely happen. The exception is not related to business logic or user error, but indicates a programming error.

The transformation is aborted.

Since:
2.00
See Also:
Serialized Form

Field Summary
static int RTE_CN_PARSE
          Invalid PDFDictionary value
static int RTE_ERR_UNICODE
          Unsupported field type
static int RTE_INV_CHECKDIGIT
          Invalid check-digit
static int RTE_INV_CIDFONT
          CIDFont does not exist
static int RTE_INV_CMAP
          Invalid CMap
static int RTE_INV_CODEPOINT_IDX
          Only 256 codepoints allowed
static int RTE_INV_FONTSTYLE
          Invalid font-style value
static int RTE_INV_FONTTYPE
          Invalid font-type
static int RTE_INV_FONTWEIGHT
          Invalid font-weight value
static int RTE_INV_HASH_CALC
          Invalid hash calculation
static int RTE_INV_HOR_ALIGN
          Invalid horizontal alignment
static int RTE_INV_IH_ERROR
          Invalid image height in (should be 'auto'
static int RTE_INV_IMGDIM_TABLE
          Invalid image dimensions in table-cell
static int RTE_INV_INHPROP_KEY
          Invalid Invalid InheritableProperty key
static int RTE_INV_JAXP_VERSION
          Invalid JAXP version
static int RTE_INV_OVERFLOW
          Invalid overflow trait
static int RTE_INV_PDFDICT
          Invalid PDFDictionary value
static int RTE_INV_PDFNAME
          Invalid PDFName value
static int RTE_INV_PDFSTRING
          Invalid PDFDictionary value
static int RTE_INV_PFD
          PDFFontWidths instance does not exist
static int RTE_INV_PFDIFF
          PDFFontDifferences instance does not exist
static int RTE_INV_PFW
          PDFFontWidths instance does not exist
static int RTE_INV_PSF
          PDFStreamFont instance does not exist
static int RTE_INV_ROTATION
          Invalid rotation
static int RTE_INV_RP_ERROR
          Invalid retrieve-position
static int RTE_INV_SNAME
          Invalid JAXP version
static int RTE_INV_STATE
          Invalid Signature State
static int RTE_INV_SUBSET
          Invalid subset value
static int RTE_INV_TOC_ERROR
          Table-of-content write error:
static int RTE_INV_VERT_ALIGN
          Invalid vertical alignment
static int RTE_UNSUP_ACROFIELD_TYPE
          Unsupported Acrofield type
static int RTE_UNSUP_FTYPE
          Unsupported field type
 
Constructor Summary
XMLMillRTException(java.lang.Exception e)
          Create a new XMLMill RunTime Exception.
XMLMillRTException(int msgnbr)
          Create a new XMLMillError.
XMLMillRTException(int msgnbr, java.lang.String s)
          Create a new XMLMillWarning.
XMLMillRTException(java.lang.String message)
          Create a new XMLMillError.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RTE_INV_SUBSET

public static final int RTE_INV_SUBSET
Invalid subset value

RTE_INV_CHECKDIGIT

public static final int RTE_INV_CHECKDIGIT
Invalid check-digit

RTE_INV_ROTATION

public static final int RTE_INV_ROTATION
Invalid rotation

RTE_INV_HOR_ALIGN

public static final int RTE_INV_HOR_ALIGN
Invalid horizontal alignment

RTE_INV_VERT_ALIGN

public static final int RTE_INV_VERT_ALIGN
Invalid vertical alignment

RTE_INV_TOC_ERROR

public static final int RTE_INV_TOC_ERROR
Table-of-content write error:

RTE_INV_RP_ERROR

public static final int RTE_INV_RP_ERROR
Invalid retrieve-position

RTE_INV_IH_ERROR

public static final int RTE_INV_IH_ERROR
Invalid image height in (should be 'auto'

RTE_INV_OVERFLOW

public static final int RTE_INV_OVERFLOW
Invalid overflow trait

RTE_INV_CODEPOINT_IDX

public static final int RTE_INV_CODEPOINT_IDX
Only 256 codepoints allowed

RTE_INV_IMGDIM_TABLE

public static final int RTE_INV_IMGDIM_TABLE
Invalid image dimensions in table-cell

RTE_INV_JAXP_VERSION

public static final int RTE_INV_JAXP_VERSION
Invalid JAXP version

RTE_INV_SNAME

public static final int RTE_INV_SNAME
Invalid JAXP version

RTE_INV_STATE

public static final int RTE_INV_STATE
Invalid Signature State

RTE_INV_PSF

public static final int RTE_INV_PSF
PDFStreamFont instance does not exist

RTE_INV_PFW

public static final int RTE_INV_PFW
PDFFontWidths instance does not exist

RTE_INV_PFD

public static final int RTE_INV_PFD
PDFFontWidths instance does not exist

RTE_INV_PFDIFF

public static final int RTE_INV_PFDIFF
PDFFontDifferences instance does not exist

RTE_INV_CMAP

public static final int RTE_INV_CMAP
Invalid CMap

RTE_INV_CIDFONT

public static final int RTE_INV_CIDFONT
CIDFont does not exist

RTE_INV_FONTTYPE

public static final int RTE_INV_FONTTYPE
Invalid font-type

RTE_INV_HASH_CALC

public static final int RTE_INV_HASH_CALC
Invalid hash calculation

RTE_INV_INHPROP_KEY

public static final int RTE_INV_INHPROP_KEY
Invalid Invalid InheritableProperty key

RTE_INV_FONTSTYLE

public static final int RTE_INV_FONTSTYLE
Invalid font-style value

RTE_INV_FONTWEIGHT

public static final int RTE_INV_FONTWEIGHT
Invalid font-weight value

RTE_INV_PDFNAME

public static final int RTE_INV_PDFNAME
Invalid PDFName value

RTE_INV_PDFDICT

public static final int RTE_INV_PDFDICT
Invalid PDFDictionary value

RTE_INV_PDFSTRING

public static final int RTE_INV_PDFSTRING
Invalid PDFDictionary value

RTE_CN_PARSE

public static final int RTE_CN_PARSE
Invalid PDFDictionary value

RTE_UNSUP_FTYPE

public static final int RTE_UNSUP_FTYPE
Unsupported field type

RTE_ERR_UNICODE

public static final int RTE_ERR_UNICODE
Unsupported field type

RTE_UNSUP_ACROFIELD_TYPE

public static final int RTE_UNSUP_ACROFIELD_TYPE
Unsupported Acrofield type
Constructor Detail

XMLMillRTException

public XMLMillRTException(java.lang.String message)
Create a new XMLMillError.

Parameters:
message - The error or warning message.
Since:
1.35

XMLMillRTException

public XMLMillRTException(int msgnbr)
Create a new XMLMillError.
Parameters:
message - The error or warning message.
Since:
1.35

XMLMillRTException

public XMLMillRTException(int msgnbr,
                          java.lang.String s)
Create a new XMLMillWarning.
Parameters:
message - The error or warning message.
e - The Exception to throw.
Since:
1.35

XMLMillRTException

public XMLMillRTException(java.lang.Exception e)
Create a new XMLMill RunTime Exception.
Parameters:
message - The error or warning message.
e - The Exception to throw.
Since:
2.50