1 18 package org.apache.batik.svggen; 19 20 public interface ErrorConstants { 21 23 public static final String ERR_UNEXPECTED = 24 "unexpected exception"; 25 public static final String ERR_CONTEXT_NULL = 26 "generatorContext should not be null"; 27 28 30 public static final String ERR_IMAGE_DIR_NULL = 31 "imageDir should not be null"; 32 public static final String ERR_IMAGE_DIR_DOES_NOT_EXIST = 33 "imageDir does not exist"; 34 public static final String ERR_CANNOT_USE_IMAGE_DIR = 35 "cannot convert imageDir to a URL value : "; 36 public static final String ERR_IMAGE_NULL = 37 "image should not be null"; 38 public static final String ERR_WRITE = 39 "could not write image File "; 40 public static final String ERR_READ = 41 "could not read image File "; 42 public static final String ERR_IMAGE_HANDLER_NOT_SUPPORTED = 43 "imageHandler does not implement CachedImageHandler: "; 44 45 47 public static final String ERR_CANVAS_SIZE_NULL = 48 "canvas size should not be null"; 49 public static final String ERR_XOR = 50 "XOR Mode is not supported by Graphics2D SVG Generator"; 51 public static final String ERR_ACI = 52 "AttributedCharacterIterator not supported yet"; 53 54 public static final String ERR_PROXY = 56 "proxy should not be null"; 57 public static final String INVALID_NODE = 58 "Unable to write node of type "; 59 60 62 public static final String ERR_GC_NULL = "gc should not be null"; 63 public static final String ERR_DOMTREEMANAGER_NULL = 64 "domTreeManager should not be null"; 65 public static final String ERR_MAXGCOVERRIDES_OUTOFRANGE = 66 "maxGcOverrides should be greater than zero"; 67 public static final String ERR_TOP_LEVEL_GROUP_NULL = 68 "topLevelGroup should not be null"; 69 public static final String ERR_TOP_LEVEL_GROUP_NOT_G = 70 "topLevelGroup should be a group <g>"; 71 72 public static final String ERR_CLIP_NULL = "clipPathValue should not be null"; 74 public static final String ERR_FONT_NULL = 75 "none of the font description parameters should be null"; 76 public static final String ERR_HINT_NULL = 77 "none of the hints description parameters should be null"; 78 public static final String ERR_STROKE_NULL = 79 "none of the stroke description parameters should be null"; 80 81 public static final String ERR_MAP_NULL = "context map(s) should not be null"; 83 public static final String ERR_TRANS_NULL = 84 "transformer stack should not be null"; 85 86 public static final String ERR_ILLEGAL_BUFFERED_IMAGE_LOOKUP_OP = 88 "BufferedImage LookupOp should have 1, 3 or 4 lookup arrays"; 89 public static final String ERR_SCALE_FACTORS_AND_OFFSETS_MISMATCH = 90 "RescapeOp offsets and scaleFactor array length do not match"; 91 public static final String ERR_ILLEGAL_BUFFERED_IMAGE_RESCALE_OP = 92 "BufferedImage RescaleOp should have 1, 3 or 4 scale factors"; 93 94 95 public static final String ERR_DOM_FACTORY_NULL = 97 "domFactory should not be null"; 98 public static final String ERR_IMAGE_HANDLER_NULL = 99 "imageHandler should not be null"; 100 public static final String ERR_EXTENSION_HANDLER_NULL = 101 "extensionHandler should not be null"; 102 public static final String ERR_ID_GENERATOR_NULL = 103 "idGenerator should not be null"; 104 public static final String ERR_STYLE_HANDLER_NULL = 105 "styleHandler should not be null"; 106 public static final String ERR_ERROR_HANDLER_NULL = 107 "errorHandler should not be null"; 108 } 109 | Popular Tags |