com.xmlmill.exception
Class XMLMillWarning

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

public class XMLMillWarning
extends XMLMillException

Encapsulates a XMLMill warning.

This error represents a XMLMill warning. A warning error is not a real error, more a notification to the system that an abnormal, though not serious situation has occured.

The transformation can continue normally.

Since:
1.35
See Also:
Serialized Form

Field Summary
static int WRN_ABSENT_TOC
          'outline-level' attribute missing, but 'show-in-outlines' defined
static int WRN_ABSENT_TOC2
          'outline-level' attribute missing, but 'show-in-toc' defined
static int WRN_ATTR_NOT_SUPP
          Not supported attribute
static int WRN_CM_TO_DOUBLE
          Cannot convert 'cm' to double
static int WRN_CM_TO_FLOAT
          Cannot convert 'cm' to float
static int WRN_CM_TO_INT
          Cannot convert 'cm' to int
static int WRN_DATA_FRM
          Cannot format date
static int WRN_GROUPSEP_IGN
          'grouping-separator' attribute ignored, not defined
static int WRN_GROUPSEP_INV
          'grouping-separator' value can only be one character
static int WRN_GROUPSIZE_IGN
          'grouping-size' attribute ignored, not defined
static int WRN_IN_TO_DOUBLE
          Cannot convert 'in' to double
static int WRN_IN_TO_FLOAT
          Cannot convert 'in' to float
static int WRN_IN_TO_INT
          Cannot convert 'in' to int
static int WRN_INV_ATTR_VALUE
          Invalid attribute value (or value not supported)
static int WRN_INV_BARCODE_CHAR
          Invalid barcode char
static int WRN_INV_BARCODE_VALUE
          Invalid barcode value
static int WRN_INV_FONT
          Font not found
static int WRN_INV_FONTSTYLE
          Invalid fonttype
static int WRN_INV_FONTTYPE
          Invalid fonttype
static int WRN_INV_FONTVARIANT
          Invalid fonttype
static int WRN_INV_FONTWEIGHT
          Invalid fontweight
static int WRN_INV_LOGLEVEL
          Unable to set log-level.
static int WRN_INV_NBR_FMT
          Invalid number format
static int WRN_INV_PADDING
          Invalid padding (cannot be negative)
static int WRN_INV_RB_VALUE
          Invalid retrieve-position attribute
static int WRN_INV_RP_VALUE
          Invalid retrieve-position attribute
static int WRN_INV_SCHEMALOCATION
          Invalid schema-location
static int WRN_LEVEL_NO_PARENT
          Outline level has no parent
static int WRN_LF_TO_INT
          Cannot convert linefeed-treatment to int
static int WRN_MISSING_C_KEYWORD
          Missing 'C' keyword
static int WRN_MISSING_N_KEYWORD
          Missing 'N' keyword
static int WRN_MISSING_WIDTH_KEYWORD
          Missing 'WX', 'W0X', 'W1X', 'WY', 'W0Y' or 'W1Y' keyword
static int WRN_MM_TO_DOUBLE
          Cannot convert 'mm' to double
static int WRN_MM_TO_FLOAT
          Cannot convert 'mm' to float
static int WRN_MM_TO_INT
          Cannot convert 'mm' to int
static int WRN_NA_ADDCHECKDIGIT
          'add-check-digit' attribute ignored.
static int WRN_NA_ADDCHECKDIGITTOTEXT
          'add-check-digit-to-text' attribute ignored.
static int WRN_NA_AUTONUMBERING
          'auto-numbering' ignored, not defined
static int WRN_NA_OUTLINELEVEL
          'outline-level' ignored, not defined
static int WRN_NA_SHOWINOUTLINES
          'show-in-outlines' ignored, not defined
static int WRN_NA_SHOWINTOC
          'show-in-toc' ignored, not defined
static int WRN_NA_TOC
           tag ignored, tag not defined
static int WRN_NO_LINKID
          No 'link-id' attribute defined
static int WRN_NO_MARKER_FOUND
          No marker found
static int WRN_NO_NEG_NBR
          Negative number not allowed
static int WRN_OVERFLOW
          Element flows over region (will be clipped)
static int WRN_PA_TO_FLOAT
          Cannot convert '%' to float
static int WRN_PA_TO_INT
          Cannot convert 'pa' to int
static int WRN_PC_TO_FLOAT
          Cannot convert 'pc' to float
static int WRN_PC_TO_INT
          Cannot convert 'pc' to int
static int WRN_PT_EXISTS
          PageTemplate already exists (will be overwritten)
static int WRN_PX_TO_DOUBLE
          Cannot convert 'px' to double
static int WRN_PX_TO_FLOAT
          Cannot convert 'px' to float
static int WRN_PX_TO_INT
          Cannot convert 'px' to int
static int WRN_RE_EXISTS
          Region already exists (will be overwritten)
static int WRN_RESET_LOGFILE
          Unable to set ErrorLog file to the standard error output stream
static int WRN_SET_LOGFILE
          Unable to set ErrorLog file
static int WRN_STR_TO_BOOL
          Cannot convert string to boolean"
static int WRN_STR_TO_BORDER
          Cannot convert String to border
static int WRN_STR_TO_BORDERBOTTOM
          Cannot convert String to border-bottom
static int WRN_STR_TO_BORDERCOLOR
          Cannot convert String to bordercolor
static int WRN_STR_TO_BORDERLEFT
          Cannot convert String to border-left
static int WRN_STR_TO_BORDERRIGHT
          Cannot convert String to borderright
static int WRN_STR_TO_BORDERST
          Cannot convert 'str' to a borderstyle
static int WRN_STR_TO_BORDERTOP
          Cannot convert String to bordertop
static int WRN_STR_TO_BORDERWI
          Cannot convert String to borderwidth
static int WRN_STR_TO_COLOR
          Cannot convert String to Color
static int WRN_STR_TO_DOUBLE
          Cannot convert String to double
static int WRN_STR_TO_FLOAT
          Cannot convert String to float
static int WRN_STR_TO_FONT
          Cannot parse Font, not 4 tokens.
static int WRN_STR_TO_HOR_ALIGN
          Cannot convert String to a horizontal alignment
static int WRN_STR_TO_INT
          Cannot convert string to int
static int WRN_STR_TO_LINESPACING
          Cannot convert String to a linespacing
static int WRN_STR_TO_MARGIN
          Cannot convert String to margin
static int WRN_STR_TO_MEDIA
          Cannot convert string to media
static int WRN_STR_TO_ORIENT
          Cannot convert string to orientation
static int WRN_STR_TO_PAGELAYOUT
          Cannot convert String to a pagelayout
static int WRN_STR_TO_PAGEMODE
          Cannot convert String to pagemode
static int WRN_STR_TO_POINT
          Cannot convert String to a Point
static int WRN_STR_TO_PT
          Cannot convert String to a pt
static int WRN_STR_TO_ROTATION
          Cannot convert String to rotation
static int WRN_STR_TO_VER_ALIGN
          Cannot convert String to a vertical alignment
static int WRN_UNK_ENCRYP
          Unknown encryption strength (40-bit strength will be used)
static int WRN_UNK_LOCALE
          Locale not correctly defined, should be of format 'en_US'
static int WRN_UNK_LOCALE_CY
          Locale-language not correctly defined.
static int WRN_UNK_LOCALE_LA
          Locale-country not correctly defined.
 
Constructor Summary
XMLMillWarning(int msgnbr)
          Create a new XMLMillError.
XMLMillWarning(int msgnbr, java.lang.Exception e)
          Create a new XMLMillWarning.
XMLMillWarning(int msgnbr, java.lang.String s)
          Create a new XMLMillWarning.
XMLMillWarning(java.lang.String message)
          Create a new XMLMillError.
 
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

WRN_STR_TO_BOOL

public static final int WRN_STR_TO_BOOL
Cannot convert string to boolean"

WRN_LF_TO_INT

public static final int WRN_LF_TO_INT
Cannot convert linefeed-treatment to int

WRN_STR_TO_INT

public static final int WRN_STR_TO_INT
Cannot convert string to int

WRN_STR_TO_MEDIA

public static final int WRN_STR_TO_MEDIA
Cannot convert string to media

WRN_STR_TO_ORIENT

public static final int WRN_STR_TO_ORIENT
Cannot convert string to orientation

WRN_PX_TO_INT

public static final int WRN_PX_TO_INT
Cannot convert 'px' to int

WRN_CM_TO_DOUBLE

public static final int WRN_CM_TO_DOUBLE
Cannot convert 'cm' to double

WRN_CM_TO_INT

public static final int WRN_CM_TO_INT
Cannot convert 'cm' to int

WRN_IN_TO_DOUBLE

public static final int WRN_IN_TO_DOUBLE
Cannot convert 'in' to double

WRN_IN_TO_INT

public static final int WRN_IN_TO_INT
Cannot convert 'in' to int

WRN_MM_TO_DOUBLE

public static final int WRN_MM_TO_DOUBLE
Cannot convert 'mm' to double

WRN_MM_TO_INT

public static final int WRN_MM_TO_INT
Cannot convert 'mm' to int

WRN_PA_TO_INT

public static final int WRN_PA_TO_INT
Cannot convert 'pa' to int

WRN_PX_TO_DOUBLE

public static final int WRN_PX_TO_DOUBLE
Cannot convert 'px' to double

WRN_STR_TO_BORDERST

public static final int WRN_STR_TO_BORDERST
Cannot convert 'str' to a borderstyle

WRN_STR_TO_BORDERWI

public static final int WRN_STR_TO_BORDERWI
Cannot convert String to borderwidth

WRN_STR_TO_COLOR

public static final int WRN_STR_TO_COLOR
Cannot convert String to Color

WRN_STR_TO_DOUBLE

public static final int WRN_STR_TO_DOUBLE
Cannot convert String to double

WRN_STR_TO_PAGEMODE

public static final int WRN_STR_TO_PAGEMODE
Cannot convert String to pagemode

WRN_STR_TO_MARGIN

public static final int WRN_STR_TO_MARGIN
Cannot convert String to margin

WRN_STR_TO_BORDER

public static final int WRN_STR_TO_BORDER
Cannot convert String to border

WRN_STR_TO_BORDERCOLOR

public static final int WRN_STR_TO_BORDERCOLOR
Cannot convert String to bordercolor

WRN_STR_TO_BORDERTOP

public static final int WRN_STR_TO_BORDERTOP
Cannot convert String to bordertop

WRN_STR_TO_BORDERRIGHT

public static final int WRN_STR_TO_BORDERRIGHT
Cannot convert String to borderright

WRN_NA_SHOWINOUTLINES

public static final int WRN_NA_SHOWINOUTLINES
'show-in-outlines' ignored, not defined

WRN_NA_SHOWINTOC

public static final int WRN_NA_SHOWINTOC
'show-in-toc' ignored, not defined

WRN_NA_AUTONUMBERING

public static final int WRN_NA_AUTONUMBERING
'auto-numbering' ignored, not defined

WRN_NA_OUTLINELEVEL

public static final int WRN_NA_OUTLINELEVEL
'outline-level' ignored, not defined

WRN_NA_TOC

public static final int WRN_NA_TOC
tag ignored, tag not defined

WRN_ABSENT_TOC

public static final int WRN_ABSENT_TOC
'outline-level' attribute missing, but 'show-in-outlines' defined

WRN_ABSENT_TOC2

public static final int WRN_ABSENT_TOC2
'outline-level' attribute missing, but 'show-in-toc' defined

WRN_NO_NEG_NBR

public static final int WRN_NO_NEG_NBR
Negative number not allowed

WRN_UNK_ENCRYP

public static final int WRN_UNK_ENCRYP
Unknown encryption strength (40-bit strength will be used)

WRN_SET_LOGFILE

public static final int WRN_SET_LOGFILE
Unable to set ErrorLog file

WRN_RESET_LOGFILE

public static final int WRN_RESET_LOGFILE
Unable to set ErrorLog file to the standard error output stream

WRN_UNK_LOCALE

public static final int WRN_UNK_LOCALE
Locale not correctly defined, should be of format 'en_US'

WRN_UNK_LOCALE_LA

public static final int WRN_UNK_LOCALE_LA
Locale-country not correctly defined.

WRN_UNK_LOCALE_CY

public static final int WRN_UNK_LOCALE_CY
Locale-language not correctly defined.

WRN_STR_TO_HOR_ALIGN

public static final int WRN_STR_TO_HOR_ALIGN
Cannot convert String to a horizontal alignment

WRN_STR_TO_VER_ALIGN

public static final int WRN_STR_TO_VER_ALIGN
Cannot convert String to a vertical alignment

WRN_STR_TO_PAGELAYOUT

public static final int WRN_STR_TO_PAGELAYOUT
Cannot convert String to a pagelayout

WRN_STR_TO_LINESPACING

public static final int WRN_STR_TO_LINESPACING
Cannot convert String to a linespacing

WRN_STR_TO_POINT

public static final int WRN_STR_TO_POINT
Cannot convert String to a Point

WRN_STR_TO_PT

public static final int WRN_STR_TO_PT
Cannot convert String to a pt

WRN_LEVEL_NO_PARENT

public static final int WRN_LEVEL_NO_PARENT
Outline level has no parent

WRN_NO_LINKID

public static final int WRN_NO_LINKID
No 'link-id' attribute defined

WRN_DATA_FRM

public static final int WRN_DATA_FRM
Cannot format date

WRN_STR_TO_ROTATION

public static final int WRN_STR_TO_ROTATION
Cannot convert String to rotation

WRN_INV_BARCODE_CHAR

public static final int WRN_INV_BARCODE_CHAR
Invalid barcode char

WRN_INV_BARCODE_VALUE

public static final int WRN_INV_BARCODE_VALUE
Invalid barcode value

WRN_MISSING_C_KEYWORD

public static final int WRN_MISSING_C_KEYWORD
Missing 'C' keyword

WRN_MISSING_WIDTH_KEYWORD

public static final int WRN_MISSING_WIDTH_KEYWORD
Missing 'WX', 'W0X', 'W1X', 'WY', 'W0Y' or 'W1Y' keyword

WRN_MISSING_N_KEYWORD

public static final int WRN_MISSING_N_KEYWORD
Missing 'N' keyword

WRN_STR_TO_FONT

public static final int WRN_STR_TO_FONT
Cannot parse Font, not 4 tokens.

WRN_INV_LOGLEVEL

public static final int WRN_INV_LOGLEVEL
Unable to set log-level.

WRN_PT_EXISTS

public static final int WRN_PT_EXISTS
PageTemplate already exists (will be overwritten)

WRN_GROUPSEP_IGN

public static final int WRN_GROUPSEP_IGN
'grouping-separator' attribute ignored, not defined

WRN_GROUPSIZE_IGN

public static final int WRN_GROUPSIZE_IGN
'grouping-size' attribute ignored, not defined

WRN_GROUPSEP_INV

public static final int WRN_GROUPSEP_INV
'grouping-separator' value can only be one character

WRN_INV_NBR_FMT

public static final int WRN_INV_NBR_FMT
Invalid number format

WRN_ATTR_NOT_SUPP

public static final int WRN_ATTR_NOT_SUPP
Not supported attribute

WRN_INV_RP_VALUE

public static final int WRN_INV_RP_VALUE
Invalid retrieve-position attribute

WRN_INV_RB_VALUE

public static final int WRN_INV_RB_VALUE
Invalid retrieve-position attribute

WRN_NO_MARKER_FOUND

public static final int WRN_NO_MARKER_FOUND
No marker found

WRN_INV_FONT

public static final int WRN_INV_FONT
Font not found

WRN_STR_TO_FLOAT

public static final int WRN_STR_TO_FLOAT
Cannot convert String to float

WRN_PX_TO_FLOAT

public static final int WRN_PX_TO_FLOAT
Cannot convert 'px' to float

WRN_MM_TO_FLOAT

public static final int WRN_MM_TO_FLOAT
Cannot convert 'mm' to float

WRN_CM_TO_FLOAT

public static final int WRN_CM_TO_FLOAT
Cannot convert 'cm' to float

WRN_IN_TO_FLOAT

public static final int WRN_IN_TO_FLOAT
Cannot convert 'in' to float

WRN_PA_TO_FLOAT

public static final int WRN_PA_TO_FLOAT
Cannot convert '%' to float

WRN_INV_FONTTYPE

public static final int WRN_INV_FONTTYPE
Invalid fonttype

WRN_INV_FONTSTYLE

public static final int WRN_INV_FONTSTYLE
Invalid fonttype

WRN_INV_FONTVARIANT

public static final int WRN_INV_FONTVARIANT
Invalid fonttype

WRN_INV_FONTWEIGHT

public static final int WRN_INV_FONTWEIGHT
Invalid fontweight

WRN_RE_EXISTS

public static final int WRN_RE_EXISTS
Region already exists (will be overwritten)

WRN_OVERFLOW

public static final int WRN_OVERFLOW
Element flows over region (will be clipped)

WRN_PC_TO_FLOAT

public static final int WRN_PC_TO_FLOAT
Cannot convert 'pc' to float

WRN_PC_TO_INT

public static final int WRN_PC_TO_INT
Cannot convert 'pc' to int

WRN_STR_TO_BORDERLEFT

public static final int WRN_STR_TO_BORDERLEFT
Cannot convert String to border-left

WRN_STR_TO_BORDERBOTTOM

public static final int WRN_STR_TO_BORDERBOTTOM
Cannot convert String to border-bottom

WRN_INV_ATTR_VALUE

public static final int WRN_INV_ATTR_VALUE
Invalid attribute value (or value not supported)

WRN_NA_ADDCHECKDIGIT

public static final int WRN_NA_ADDCHECKDIGIT
'add-check-digit' attribute ignored. Not valid for this barcode type.

WRN_NA_ADDCHECKDIGITTOTEXT

public static final int WRN_NA_ADDCHECKDIGITTOTEXT
'add-check-digit-to-text' attribute ignored. Not valid for this barcode type.

WRN_INV_SCHEMALOCATION

public static final int WRN_INV_SCHEMALOCATION
Invalid schema-location

WRN_INV_PADDING

public static final int WRN_INV_PADDING
Invalid padding (cannot be negative)
Constructor Detail

XMLMillWarning

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

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

XMLMillWarning

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

XMLMillWarning

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

XMLMillWarning

public XMLMillWarning(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