com.xmlmill.exception
Class XMLMillFatalError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.xml.sax.SAXException
                    |
                    +--com.xmlmill.exception.XMLMillException
                          |
                          +--com.xmlmill.exception.XMLMillFatalError
All Implemented Interfaces:
java.io.Serializable

public class XMLMillFatalError
extends XMLMillException

Encapsulates a XMLMill fatal error.

This error represents a XMLMill fatal error. The system has to stop immediately. There is no possiblity the this error can be recovered by the system.

Since:
1.35
See Also:
Serialized Form

Field Summary
static int FATERR_ALIGN_NOT_DEF
          'align' attribute not defined in header or footer
static int FATERR_COL_NOT_ALL
           tag not allowed in 'complex' table
static int FATERR_COL_NOT_DEF
           tag should be defined in 'simple' table.
static int FATERR_COLSPAN_NOT_ALL
          'number-columns-spanned' attribute not allowed, table-type is 'complex'.
static int FATERR_CONV_URL_TO_FIS
          Could not convert URL to FileInputStream
static int FATERR_EL_NO_ALL_BC
          Element not allowed in this context
static int FATERR_EL_NO_ALL_IM
          Element not allowed in this context
static int FATERR_ENCR_MD5
          Cannot generate a MD5 MessageDigest object
static int FATERR_EXH_CPMR
          All conditional-page-master-reference children exhausted of repeatable-page-master-alternatives
static int FATERR_EXH_SSS
          All sub-sequence-specifiers children exhausted of page-sequence-master
static int FATERR_FONT_NOT_DEF
          Font not defined
static int FATERR_FONTFILE_NOT_FOUND
          Font file not found
static int FATERR_HEIGHT_NOT_DEF
          'height' attribute should be defined, reference-orientation is 90° or 270°.
static int FATERR_INV_ACROFORM
          Invalid Acroform (in template)
static int FATERR_INV_ATTR
          Invalid Attribute value
static int FATERR_INV_BARCODE_CHAR
          Invalid barcode chararacter
static int FATERR_INV_BARCODE_HEIGHT
          Barcode height larger than container's height
static int FATERR_INV_BARCODE_TYPE
          Invalid barcode type.
static int FATERR_INV_BARCODE_VALUE
          Invalid barcode value
static int FATERR_INV_BARCODE_WIDTH
          Barcode width larger than container's width
static int FATERR_INV_COLSPAN_VALUE
          Invalid 'number-columns-spanned' value (too big).
static int FATERR_INV_FONTFAMILY
          No valid fontname found in font-family
static int FATERR_INV_FONTFILE
          Invalid Font file
static int FATERR_INV_FONTNAME
          Cannot convert String to a Fontname
static int FATERR_INV_FONTSIZE
          Cannot convert String to a fontsize
static int FATERR_INV_FONTSTYLE
          "Cannot convert String to a style
static int FATERR_INV_FONTTYPE
          Invalid fonttype
static int FATERR_INV_INH_PROP
          Internal inheritable property not found
static int FATERR_INV_INLINETEXT_TYPE
          "Cannot convert String to a style
static int FATERR_INV_MR
          Master-reference does not refer to a page-template
static int FATERR_INV_ORIENTATION
          Invalid orientation
static int FATERR_INV_PDF_SPEC
          Invalid PDF Specification number
static int FATERR_INV_RN
          Region-name does not refer to an existing region.
static int FATERR_INV_ROTATION
          Invalid rotation (does not exist)
static int FATERR_INV_SCHEMALOCATION
          Invalid schema-location
static int FATERR_INV_SH
          Invalid Signaturehandler
static int FATERR_INV_SIGNATURE_HEIGHT
          Signature height larger than container's height
static int FATERR_INV_SIGNATURE_WIDTH
          Signature width larger than container's width
static int FATERR_INV_SUBSET
          Invalid subset when defining a barcode 128.
static int FATERR_INV_SYSTEMID
          Path or URI cannot be resolved (systemID not defined)
static int FATERR_INV_TABLECELL_CNT
          'table-cell' contains invalid elements.
static int FATERR_INV_TABLECELL_NOT_FOUND
          Signature height larger than container's height
static int FATERR_INV_TEMPLATE
          Invlid template docucment
static int FATERR_INV_TOPLEFT_X_VALUE
          'topleft' x-position falls outside region
static int FATERR_INV_TOPLEFT_Y_VALUE
          'topleft' y-position falls outside region
static int FATERR_INVALID_NBR_FMT
          Invalid number-format
static int FATERR_INVALID_OUTP_FILE
          Invalid output file:
static int FATERR_IO_EXCEPTION
          IO Exception
static int FATERR_LINK_NOT_DEFINED
          Linktype is not an internal or external link.
static int FATERR_MARKER_NOT_ALL
          A ml:marker is only permitted as the descendant of an ml:flow.
static int FATERR_MISS_ATTR
          Required attribute is missing:
static int FATERR_NO_ACROFORM_FOUND
          No Acroform object found:
static int FATERR_NO_FILE_EXT
          No file-extension found
static int FATERR_NOT_FLUSH_STREAM
          Cannot flush stream in PDXTransformHandler
static int FATERR_NOT_VALID_NS
          Not a valid namespace
static int FATERR_NOT_VALID_URL
          Not a valid URL
static int FATERR_RESOURCE_FILE_NOT_FOUND
          Configuration file not found.
static int FATERR_RM_NOT_ALL
          A ml:retrieve-marker is only permitted as the descendant of an ml:static-content
static int FATERR_SCHEMA_NOT_SUPPORTED
          Invalid schema-location
static int FATERR_STR_TO_POINT
          Cannot convert String to a Point
static int FATERR_STR_TO_TABLELAYOUT
          Invalid table-layout (should be 'simple' or 'complex')
static int FATERR_TAG_NOT_PARSABLE
          Cannot parse
static int FATERR_TN_NOT_DEF
          Templatename does not exist in layout-master-set:
static int FATERR_UNSUPP_ENCOD
          UnsupportedEncodingException
static int FATERR_WIDTH_NOT_ALL
          Width attribute not allowed, table-layout is 'simple'
static int FATERR_WIDTH_NOT_DEF
          'width' attribute should be defined, reference-orientation is 0° or 180°."
static int FATERR_WIDTH_REQ
          Width attribute should be defined, table-layout is 'complex'
static int FATERR_XMLSOURCE_NOT_DEF
          No xml-source defined (no file,stream,url,dom defined)
static int FATERR_XSLSOURCE_NOT_DEF
          No xsl-source defined (no file,stream,url,dom defined)
static int INVAL_OSTREAM
          Invalid outputStream
 
Constructor Summary
XMLMillFatalError(int msgnbr)
          Create a new XMLMill FatalError.
XMLMillFatalError(int msgnbr, java.lang.Exception e)
          Create a new XMLMill FatalError.
XMLMillFatalError(int msgnbr, java.lang.String s)
          Create a new XMLMill FatalError.
XMLMillFatalError(java.lang.String message)
          Create a new XMLMill FatalError.
 
Methods inherited from class org.xml.sax.SAXException
getException, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FATERR_LINK_NOT_DEFINED

public static final int FATERR_LINK_NOT_DEFINED
Linktype is not an internal or external link.

FATERR_NOT_VALID_URL

public static final int FATERR_NOT_VALID_URL
Not a valid URL

FATERR_TAG_NOT_PARSABLE

public static final int FATERR_TAG_NOT_PARSABLE
Cannot parse

FATERR_INVALID_NBR_FMT

public static final int FATERR_INVALID_NBR_FMT
Invalid number-format

FATERR_ENCR_MD5

public static final int FATERR_ENCR_MD5
Cannot generate a MD5 MessageDigest object

FATERR_UNSUPP_ENCOD

public static final int FATERR_UNSUPP_ENCOD
UnsupportedEncodingException

FATERR_STR_TO_TABLELAYOUT

public static final int FATERR_STR_TO_TABLELAYOUT
Invalid table-layout (should be 'simple' or 'complex')

FATERR_COL_NOT_ALL

public static final int FATERR_COL_NOT_ALL
tag not allowed in 'complex' table

FATERR_WIDTH_REQ

public static final int FATERR_WIDTH_REQ
Width attribute should be defined, table-layout is 'complex'

FATERR_WIDTH_NOT_ALL

public static final int FATERR_WIDTH_NOT_ALL
Width attribute not allowed, table-layout is 'simple'

FATERR_XMLSOURCE_NOT_DEF

public static final int FATERR_XMLSOURCE_NOT_DEF
No xml-source defined (no file,stream,url,dom defined)

FATERR_XSLSOURCE_NOT_DEF

public static final int FATERR_XSLSOURCE_NOT_DEF
No xsl-source defined (no file,stream,url,dom defined)

FATERR_ALIGN_NOT_DEF

public static final int FATERR_ALIGN_NOT_DEF
'align' attribute not defined in header or footer

FATERR_NO_FILE_EXT

public static final int FATERR_NO_FILE_EXT
No file-extension found

FATERR_INVALID_OUTP_FILE

public static final int FATERR_INVALID_OUTP_FILE
Invalid output file:

FATERR_CONV_URL_TO_FIS

public static final int FATERR_CONV_URL_TO_FIS
Could not convert URL to FileInputStream

FATERR_COLSPAN_NOT_ALL

public static final int FATERR_COLSPAN_NOT_ALL
'number-columns-spanned' attribute not allowed, table-type is 'complex'.

FATERR_NOT_VALID_NS

public static final int FATERR_NOT_VALID_NS
Not a valid namespace

FATERR_NOT_FLUSH_STREAM

public static final int FATERR_NOT_FLUSH_STREAM
Cannot flush stream in PDXTransformHandler

INVAL_OSTREAM

public static final int INVAL_OSTREAM
Invalid outputStream

FATERR_INV_BARCODE_TYPE

public static final int FATERR_INV_BARCODE_TYPE
Invalid barcode type.

FATERR_RESOURCE_FILE_NOT_FOUND

public static final int FATERR_RESOURCE_FILE_NOT_FOUND
Configuration file not found.

FATERR_INV_FONTTYPE

public static final int FATERR_INV_FONTTYPE
Invalid fonttype

FATERR_FONT_NOT_DEF

public static final int FATERR_FONT_NOT_DEF
Font not defined

FATERR_FONTFILE_NOT_FOUND

public static final int FATERR_FONTFILE_NOT_FOUND
Font file not found

FATERR_INV_FONTFILE

public static final int FATERR_INV_FONTFILE
Invalid Font file

FATERR_INV_FONTNAME

public static final int FATERR_INV_FONTNAME
Cannot convert String to a Fontname

FATERR_INV_FONTSIZE

public static final int FATERR_INV_FONTSIZE
Cannot convert String to a fontsize

FATERR_INV_FONTSTYLE

public static final int FATERR_INV_FONTSTYLE
"Cannot convert String to a style

FATERR_INV_INLINETEXT_TYPE

public static final int FATERR_INV_INLINETEXT_TYPE
"Cannot convert String to a style

FATERR_INV_PDF_SPEC

public static final int FATERR_INV_PDF_SPEC
Invalid PDF Specification number

FATERR_INV_ORIENTATION

public static final int FATERR_INV_ORIENTATION
Invalid orientation

FATERR_INV_ROTATION

public static final int FATERR_INV_ROTATION
Invalid rotation (does not exist)

FATERR_IO_EXCEPTION

public static final int FATERR_IO_EXCEPTION
IO Exception

FATERR_COL_NOT_DEF

public static final int FATERR_COL_NOT_DEF
tag should be defined in 'simple' table.

FATERR_WIDTH_NOT_DEF

public static final int FATERR_WIDTH_NOT_DEF
'width' attribute should be defined, reference-orientation is 0° or 180°."

FATERR_HEIGHT_NOT_DEF

public static final int FATERR_HEIGHT_NOT_DEF
'height' attribute should be defined, reference-orientation is 90° or 270°.

FATERR_INV_ATTR

public static final int FATERR_INV_ATTR
Invalid Attribute value

FATERR_TN_NOT_DEF

public static final int FATERR_TN_NOT_DEF
Templatename does not exist in layout-master-set:

FATERR_INV_MR

public static final int FATERR_INV_MR
Master-reference does not refer to a page-template

FATERR_MISS_ATTR

public static final int FATERR_MISS_ATTR
Required attribute is missing:

FATERR_EXH_SSS

public static final int FATERR_EXH_SSS
All sub-sequence-specifiers children exhausted of page-sequence-master

FATERR_EXH_CPMR

public static final int FATERR_EXH_CPMR
All conditional-page-master-reference children exhausted of repeatable-page-master-alternatives

FATERR_INV_FONTFAMILY

public static final int FATERR_INV_FONTFAMILY
No valid fontname found in font-family

FATERR_INV_INH_PROP

public static final int FATERR_INV_INH_PROP
Internal inheritable property not found

FATERR_INV_RN

public static final int FATERR_INV_RN
Region-name does not refer to an existing region.

FATERR_INV_SYSTEMID

public static final int FATERR_INV_SYSTEMID
Path or URI cannot be resolved (systemID not defined)

FATERR_INV_TABLECELL_CNT

public static final int FATERR_INV_TABLECELL_CNT
'table-cell' contains invalid elements.

FATERR_RM_NOT_ALL

public static final int FATERR_RM_NOT_ALL
A ml:retrieve-marker is only permitted as the descendant of an ml:static-content

FATERR_MARKER_NOT_ALL

public static final int FATERR_MARKER_NOT_ALL
A ml:marker is only permitted as the descendant of an ml:flow.

FATERR_INV_SUBSET

public static final int FATERR_INV_SUBSET
Invalid subset when defining a barcode 128.

FATERR_INV_BARCODE_CHAR

public static final int FATERR_INV_BARCODE_CHAR
Invalid barcode chararacter

FATERR_INV_BARCODE_VALUE

public static final int FATERR_INV_BARCODE_VALUE
Invalid barcode value

FATERR_INV_BARCODE_WIDTH

public static final int FATERR_INV_BARCODE_WIDTH
Barcode width larger than container's width

FATERR_INV_BARCODE_HEIGHT

public static final int FATERR_INV_BARCODE_HEIGHT
Barcode height larger than container's height

FATERR_INV_TOPLEFT_X_VALUE

public static final int FATERR_INV_TOPLEFT_X_VALUE
'topleft' x-position falls outside region

FATERR_INV_TOPLEFT_Y_VALUE

public static final int FATERR_INV_TOPLEFT_Y_VALUE
'topleft' y-position falls outside region

FATERR_INV_SCHEMALOCATION

public static final int FATERR_INV_SCHEMALOCATION
Invalid schema-location

FATERR_SCHEMA_NOT_SUPPORTED

public static final int FATERR_SCHEMA_NOT_SUPPORTED
Invalid schema-location

FATERR_EL_NO_ALL_IM

public static final int FATERR_EL_NO_ALL_IM
Element not allowed in this context

FATERR_EL_NO_ALL_BC

public static final int FATERR_EL_NO_ALL_BC
Element not allowed in this context

FATERR_STR_TO_POINT

public static final int FATERR_STR_TO_POINT
Cannot convert String to a Point

FATERR_INV_COLSPAN_VALUE

public static final int FATERR_INV_COLSPAN_VALUE
Invalid 'number-columns-spanned' value (too big).

FATERR_INV_SH

public static final int FATERR_INV_SH
Invalid Signaturehandler

FATERR_INV_SIGNATURE_WIDTH

public static final int FATERR_INV_SIGNATURE_WIDTH
Signature width larger than container's width

FATERR_INV_SIGNATURE_HEIGHT

public static final int FATERR_INV_SIGNATURE_HEIGHT
Signature height larger than container's height

FATERR_INV_TABLECELL_NOT_FOUND

public static final int FATERR_INV_TABLECELL_NOT_FOUND
Signature height larger than container's height

FATERR_INV_TEMPLATE

public static final int FATERR_INV_TEMPLATE
Invlid template docucment

FATERR_INV_ACROFORM

public static final int FATERR_INV_ACROFORM
Invalid Acroform (in template)

FATERR_NO_ACROFORM_FOUND

public static final int FATERR_NO_ACROFORM_FOUND
No Acroform object found:
Constructor Detail

XMLMillFatalError

public XMLMillFatalError(java.lang.String message)
Create a new XMLMill FatalError.

Parameters:
message - The fatal error message.
Since:
1.35

XMLMillFatalError

public XMLMillFatalError(int msgnbr)
Create a new XMLMill FatalError.

Parameters:
msgnbr - The fatal error number.
Since:
1.35

XMLMillFatalError

public XMLMillFatalError(int msgnbr,
                         java.lang.Exception e)
Create a new XMLMill FatalError.
Parameters:
msgnbr - The fatal error number..
e - The Exception to throw.
Since:
1.40

XMLMillFatalError

public XMLMillFatalError(int msgnbr,
                         java.lang.String s)
Create a new XMLMill FatalError.
Parameters:
msgnbr - The fatal error number..
s - String representing a variable message to pass.
Since:
1.50