| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.maven.artifact.repository.metadata.io.MetadataParseException
public class MetadataParseException
Signals a failure to parse the metadata due to invalid syntax (e.g. non-wellformed XML or unknown elements).
| Constructor Summary | |
|---|---|
MetadataParseException(String message,
                                             int lineNumber,
                                             int columnNumber)
Creates a new parser exception with the specified details.  | 
|
MetadataParseException(String message,
                                             int lineNumber,
                                             int columnNumber,
                                             Throwable cause)
Creates a new parser exception with the specified details.  | 
|
| Method Summary | |
|---|---|
 int | 
getColumnNumber()
Gets the one-based index of the column containing the error.  | 
 int | 
getLineNumber()
Gets the one-based index of the line containing the error.  | 
| Methods inherited from class java.lang.Throwable | 
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public MetadataParseException(String message,
                              int lineNumber,
                              int columnNumber)
message - The error message, may be null.lineNumber - The one-based index of the line containing the error or -1 if unknown.columnNumber - The one-based index of the column containing the error or -1 if unknown.
public MetadataParseException(String message,
                              int lineNumber,
                              int columnNumber,
                              Throwable cause)
message - The error message, may be null.lineNumber - The one-based index of the line containing the error or -1 if unknown.columnNumber - The one-based index of the column containing the error or -1 if unknown.cause - The nested cause of this error, may be null.| Method Detail | 
|---|
public int getLineNumber()
public int getColumnNumber()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||