CartoType Android API 8.8-7-gb35e4dc71
for Java development on Android
|
Static Public Member Functions | |
static native String | string (int aErrorCode) |
Static Public Attributes | |
static final int | NONE = 0 |
static final int | SUCCESS = 0 |
static final int | GENERAL = 1 |
static final int | NO_MEMORY = 2 |
static final int | END_OF_DATA = 3 |
static final int | TEXT_UNMODIFIABLE = 4 |
static final int | TEXT_TRUNCATED = 5 |
static final int | NOT_FOUND = 6 |
static final int | UNIMPLEMENTED = 7 |
static final int | INVALID_OUTLINE = 8 |
static final int | IO = 9 |
static final int | CORRUPT = 10 |
static final int | UNKNOWN_DATA_FORMAT = 11 |
static final int | NO_INVERSE = 12 |
static final int | PROJECTION_OVERFLOW = 13 |
static final int | CANCEL = 14 |
static final int | INVALID_ARGUMENT = 15 |
static final int | UNKNOWN_VERSION = 16 |
static final int | OVERFLOW = 17 |
static final int | PARALLEL_LINES = 19 |
static final int | NO_PALETTE = 22 |
static final int | DUPLICATE = 23 |
static final int | NO_PROJECTION = 24 |
static final int | PALETTE_FULL = 25 |
static final int | INVALID_DASH_ARRAY = 26 |
static final int | CENTRAL_PATH = 27 |
static final int | NO_ROUTE = 28 |
static final int | ZOOM_LIMIT_REACHED = 29 |
static final int | ALREADY_PROJECTED = 30 |
static final int | CONDITIONS_TOO_DEEPLY_NESTED = 31 |
static final int | NULL_FONT = 32 |
static final int | INTERNET_IO = 33 |
static final int | DIVIDE_BY_ZERO = 34 |
static final int | TRANSFORM_FAILED = 35 |
static final int | PNG_READ = 36 |
static final int | JPG_READ = 37 |
static final int | NO_INTERSECTION = 38 |
static final int | INTERRUPT = 39 |
static final int | MAP_DATABASE_FORMAT_MISMATCH = 40 |
static final int | ENCRYPTION_KEY_TOO_SHORT = 41 |
static final int | NO_ENCRYPTION_KEY = 42 |
static final int | EMERGENCY_MESSAGE = 43 |
static final int | ALERT_MESSAGE = 44 |
static final int | CRITICAL_MESSAGE = 45 |
static final int | MESSAGE = 46 |
static final int | WARNING_MESSAGE = 47 |
static final int | NOTICE_MESSAGE = 48 |
static final int | INFO_MESSAGE = 49 |
static final int | DEBUG_MESSAGE = 50 |
static final int | NOT_NAVIGATING = 51 |
static final int | NO_FRAMEWORK = 52 |
static final int | FRAMEWORK_ALREADY_EXISTS = 53 |
static final int | UNTRANSLITERABLE = 54 |
static final int | PNG_WRITE = 55 |
static final int | READ_ONLY_MAP_DATABASE = 56 |
static final int | PROJ4 = 57 |
static final int | UNLICENSED = 58 |
static final int | NO_ROADS_NEAR_START_OF_ROUTE = 59 |
static final int | NO_ROADS_NEAR_END_OF_ROUTE = 60 |
static final int | NO_ROUTE_CONNECTIVITY = 61 |
static final int | XML_FEATURE_NOT_SUPPORTED = 62 |
static final int | MAP_NOT_FOUND = 63 |
static final int | FONT_NOT_FOUND = 64 |
static final int | STYLE_SHEET_NOT_FOUND = 65 |
static final int | FEATURE_INFO_IS_NOT_ROUTE = 66 |
static final int | FEATURE_INFO_IS_ROUTE = 67 |
static final int | NO_ROUTE_DATA = 68 |
static final int | TOO_MANY_FONTS_IN_STYLE_SHEET = 69 |
static final int | TOO_MANY_BOX_STYLES_IN_STYLE_SHEET = 70 |
static final int | STANDARD_ERROR_CODE_COUNT = 71 |
static final int | XML_ERROR_RANGE_START = 0x10000000 |
static final int | XML_ERROR_RANGE_END = 0x2AFFFFFF |
static final int | SQLITE_ERROR_BASE = 0x30000000 |
This class holds error codes.
|
static |
Returns a short description of an error, given its code.
|
static |
A code for standard alert messages.
|
static |
There was an attempt to project a map object that had already been projected.
|
static |
The code CANCEL is returned to cancel an asynchronous operation that uses callbacks. The callback or virtual function returns this code. The caller must terminate further processing on receipt of any error, but this one indicates that there has been no actual error.
|
static |
The central-path system failed to create a usable path.
|
static |
Conditions are too deeply nested in the style sheet.
|
static |
CORRUPT is returned when illegal values are found when reading data from a file or other serialized form.
|
static |
A code for standard critical messages.
|
static |
A code for standard debug messages.
|
static |
Division by zero in an interpreted expression.
|
static |
An attempt was made to insert a duplicate object into a collection class that does not allow duplicates.
|
static |
A code for standard emergency messages.
|
static |
A key supplied for encryption was too short.
|
static |
END_OF_DATA is returned by iterators and streams when no more data is available. It may be treated as an error or not depending on the circumstances.
|
static |
An attempt was made to set a route attribute on a feature info that is not a route.
|
static |
An attempt was made to set a non-route attribute on a feature info that is a route.
|
static |
A font file was not found.
|
static |
The global framework object already exists.
|
static |
GENERAL is used where an error has occurred but no other CartoType error is applicable. For example, this error code can be used when FreeType returns an error code for illegal TrueType hinting instructions.
|
static |
A code for standard information messages.
|
static |
An attempt to read data from the internet failed.
|
static |
An operation was interrupted, for example by another thread writing to a shared flag.
|
static |
This error is returned when an invalid argument has been given to a function.
|
static |
The dash array for drawing strokes is invalid.
|
static |
If the graphics system detects an invalid outline, such as one that starts with a cubic control point, it returns INVALID_OUTLINE.
|
static |
The code IO should be used for unexpected read or write errors on files or other data streams. This is for where you attempt to read data that should be there, but the OS says it's unavailable (e.g., someone has taken the CD out of the drive or the network is down).
|
static |
Reading a bitmap from JPG format failed.
|
static |
There was an attempt to use map databases of incompatible formats (TMapGrid values containing point format, datum and axis orientations) to draw a map or find objects in a map.
|
static |
A map file was not found.
|
static |
A code for standard error messages.
|
static |
No encryption key has been set.
|
static |
The global framework object does not exist.
|
static |
An object did not intersect a specified region.
|
static |
This error is returned by transformation inversion if the transformation has no inverse.
|
static |
NO_MEMORY is returned when an attempted memory allocation fails.
|
static |
An attempt was made to draw a bitmap needing a color palette but no palette was provided.
|
static |
The projection for converting latitude and longitude to map coordinates is unknown or unavailable.
|
static |
No route could be created because there were no roads near the end point of a route section.
|
static |
No route could be created because there were no roads near the start point of a route section.
|
static |
A route was needed by the navigation system but no route was available.
|
static |
No route could be created because the start and end point were not connected.
|
static |
No route data is available.
|
static |
No error: a successful result.
|
static |
NOT_FOUND is returned whenever a resource like a file is not found, or a search fails. It may be treated as an error or not depending on the circumstances.
|
static |
A function has been called which is available only when navigating.
|
static |
A code for standard notice messages.
|
static |
There was an attempt to use a null font for drawing text.
|
static |
This error is returned by the base library when reading data or calculations result in overflow.
|
static |
A palette is full and no new entries can be added.
|
static |
The error code returned by line intersection algorithms when the lines are parallel.
|
static |
Reading a bitmap from PNG format failed.
|
static |
Writing a bitmap to PNG format failed.
|
static |
There was an error in the PROJ.4 projection library error other than a projection overflow.
|
static |
This error is returned by the projection system if the projection causes overflow.
|
static |
There was an attempt to write to a read-only map database.
|
static |
The base of error codes for returning SQLite errors. The SQLite error code is placed in the lower two bytes.
|
static |
The number of standard error codes.
|
static |
A style sheet was not found.
|
static |
No error: a successful result.
|
static |
TEXT_TRUNCATED is returned when text inserted into a string derived from MString is too long for a fixed-size buffer.
|
static |
TEXT_UNMODIFIABLE is returned when an attempt is made to modify an unmodifiable string represented by a class derived from MString.
|
static |
Too many box styles are used in a style sheet.
|
static |
Too many fonts are used in a style sheet.
|
static |
A transform failed because an argument or result was out of range.
|
static |
The code UNIMPLEMENTED is used for functions that have not yet been implemented, or for circumstances or options within functions that remain unimplemented because they are deemed to be either rarely or never useful.
|
static |
This error is returned by database accessors, typeface accessors, etc., to indicate that this data format is unknown to a particular accessor. It is not really an error but tells the caller to try the next accessor in the list.
|
static |
This error is returned by a data reader when it can not deal with the data version.
|
static |
A function was called from the unlicensed version of CartoType that is available only in the licensed version.
|
static |
A string was not transliterable.
|
static |
A code for standard warning messages.
|
static |
The end of the range of errors in XML parsing or in the style sheet format.
|
static |
The start of the range of errors in XML parsing or in the style sheet format, such as a syntactically incorrect dimension or color. The top byte is 0x10 for style sheet errors, or in the range 0x11 to 0x2A for Expat XML parser error codes.
The low three bytes give the error location: one byte for the column number (clamped to 0...255) two bytes for the line number (clamped to 0...65535).
|
static |
An unsupported feature was requested from the XML parser.
|
static |
There was an attempt to zoom beyond the legal zoom limits for a map.