/** * Returns the column number of the end of the text where the * parse error occurred. * <p> * The first column in a line is position 1.</p> * * @return an integer representing the column number, or -1 * if the information is not available. */ public int getColumnNumber() { return (getCause() instanceof JDOMParseException)? ((JDOMParseException)getCause()).getColumnNumber(): -1; }
/** * Returns the column number of the end of the text where the parse error occurred. * <p> * The first column in a line is position 1. * </p> * * @return an integer representing the column number, or -1 if the information is not available. */ public int getColumnNumber() { if (getCause() instanceof JDOMParseException) { return ((JDOMParseException) getCause()).getColumnNumber(); } else { return -1; } }
/** * Returns the column number of the end of the text where the * parse error occurred. * <p> * The first column in a line is position 1.</p> * * @return an integer representing the column number, or -1 * if the information is not available. */ public int getColumnNumber() { return (getCause() instanceof JDOMParseException)? ((JDOMParseException)getCause()).getColumnNumber(): -1; }
/** * Returns the column number of the end of the text where the parse error occurred. * <p> * The first column in a line is position 1. * </p> * * @return an integer representing the column number, or -1 if the information is not available. */ public int getColumnNumber() { if (getCause() instanceof JDOMParseException) { return ((JDOMParseException) getCause()).getColumnNumber(); } else { return -1; } }