Package psidev.psi.mi.jami.xml.exception
Class PsiXmlParserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- psidev.psi.mi.jami.xml.exception.PsiXmlParserException
-
- All Implemented Interfaces:
Serializable
public class PsiXmlParserException extends Exception
An exception to be thrown when a XML file is invalid and cannot be parsed properly- Since:
15/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PsiXmlParserException()Constructor for PsiXmlParserException.PsiXmlParserException(int line, int col)Constructor for PsiXmlParserException.PsiXmlParserException(int line, int col, String message, Throwable throwable)Constructor for PsiXmlParserException.PsiXmlParserException(String s)Constructor for PsiXmlParserException.PsiXmlParserException(String s, Throwable throwable)Constructor for PsiXmlParserException.PsiXmlParserException(Throwable throwable)Constructor for PsiXmlParserException.PsiXmlParserException(FileSourceLocator locator)Constructor for PsiXmlParserException.PsiXmlParserException(FileSourceLocator locator, String message, Throwable throwable)Constructor for PsiXmlParserException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSourceLocatorgetLocator()Getter for the fieldlocator.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PsiXmlParserException
public PsiXmlParserException()
Constructor for PsiXmlParserException.
-
PsiXmlParserException
public PsiXmlParserException(FileSourceLocator locator)
Constructor for PsiXmlParserException.
- Parameters:
locator- aFileSourceLocatorobject.
-
PsiXmlParserException
public PsiXmlParserException(int line, int col)Constructor for PsiXmlParserException.
- Parameters:
line- a int.col- a int.
-
PsiXmlParserException
public PsiXmlParserException(FileSourceLocator locator, String message, Throwable throwable)
Constructor for PsiXmlParserException.
- Parameters:
locator- aFileSourceLocatorobject.message- aStringobject.throwable- aThrowableobject.
-
PsiXmlParserException
public PsiXmlParserException(int line, int col, String message, Throwable throwable)Constructor for PsiXmlParserException.
-
PsiXmlParserException
public PsiXmlParserException(String s)
Constructor for PsiXmlParserException.
- Parameters:
s- aStringobject.
-
PsiXmlParserException
public PsiXmlParserException(String s, Throwable throwable)
Constructor for PsiXmlParserException.
-
-
Method Detail
-
getLocator
public FileSourceLocator getLocator()
Getter for the field
locator.- Returns:
- a
FileSourceLocatorobject.
-
-