| java.lang.Object java.lang.Throwable java.lang.Exception java.text.ParseException com.ibm.icu.text.StringPrepParseException
StringPrepParseException | public class StringPrepParseException extends ParseException (Code) | | Exception that signals an error has occurred while parsing the
input to StringPrep or IDNA.
author: Ram Viswanadha |
Constructor Summary | |
public | StringPrepParseException(String message, int error) | public | StringPrepParseException(String message, int error, String rules, int pos) | public | StringPrepParseException(String message, int error, String rules, int pos, int lineNumber) Construct a ParseException object with the given message and error code
Parameters: message - A string describing the type of error that occurred Parameters: error - The error that has occurred Parameters: rules - The input rules string Parameters: pos - The position of error in the rules string Parameters: lineNumber - The line number at which the error has occurred. |
Method Summary | |
public boolean | equals(Object other) Compare this ParseException to another and evaluate if they are equal. | public String | toString() |
ACE_PREFIX_ERROR | final public static int ACE_PREFIX_ERROR(Code) | | |
BUFFER_OVERFLOW_ERROR | final public static int BUFFER_OVERFLOW_ERROR(Code) | | |
CHECK_BIDI_ERROR | final public static int CHECK_BIDI_ERROR(Code) | | |
ILLEGAL_CHAR_FOUND | final public static int ILLEGAL_CHAR_FOUND(Code) | | |
INVALID_CHAR_FOUND | final public static int INVALID_CHAR_FOUND(Code) | | |
LABEL_TOO_LONG_ERROR | final public static int LABEL_TOO_LONG_ERROR(Code) | | |
PROHIBITED_ERROR | final public static int PROHIBITED_ERROR(Code) | | |
STD3_ASCII_RULES_ERROR | final public static int STD3_ASCII_RULES_ERROR(Code) | | |
UNASSIGNED_ERROR | final public static int UNASSIGNED_ERROR(Code) | | |
VERIFICATION_ERROR | final public static int VERIFICATION_ERROR(Code) | | |
ZERO_LENGTH_LABEL | final public static int ZERO_LENGTH_LABEL(Code) | | |
serialVersionUID | final static long serialVersionUID(Code) | | |
StringPrepParseException | public StringPrepParseException(String message, int error)(Code) | | Construct a ParseException object with the given message
and error code
Parameters: message - A string describing the type of error that occurred Parameters: error - The error that has occurred |
StringPrepParseException | public StringPrepParseException(String message, int error, String rules, int pos)(Code) | | Construct a ParseException object with the given message and
error code
Parameters: message - A string describing the type of error that occurred Parameters: error - The error that has occurred Parameters: rules - The input rules string Parameters: pos - The position of error in the rules string |
StringPrepParseException | public StringPrepParseException(String message, int error, String rules, int pos, int lineNumber)(Code) | | Construct a ParseException object with the given message and error code
Parameters: message - A string describing the type of error that occurred Parameters: error - The error that has occurred Parameters: rules - The input rules string Parameters: pos - The position of error in the rules string Parameters: lineNumber - The line number at which the error has occurred. If the parse engine is not using this field, it should set it to zero. Otherwiseit should be a positive integer. The default value of this fieldis -1. It will be set to 0 if the code populating this struct is notusing line numbers. |
equals | public boolean equals(Object other)(Code) | | Compare this ParseException to another and evaluate if they are equal.
The comparison works only on the type of error and does not compare
the rules strings, if any, for equality.
Parameters: other - The exception that this object should be compared to true if the objects are equal, false if unequal |
toString | public String toString()(Code) | | Returns the position of error in the rules string
String |
Methods inherited from java.text.ParseException | public int getErrorOffset()(Code)(Java Doc)
|
|
|