gov.nasa.pds.tools.label
Class LabelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
gov.nasa.pds.tools.label.LabelException
- All Implemented Interfaces:
- Serializable
public class LabelException
- extends Exception
- Author:
- pramirez
- See Also:
- Serialized Form
LabelException
public LabelException(ExceptionType exceptionType,
String messageKey,
String publicId,
String systemId,
Integer lineNumber,
Integer columnNumber)
LabelException
public LabelException(ExceptionType exceptionType,
String message,
String filepath,
String location,
String test)
- Used to capture information captured from schematron
- Parameters:
exceptionType
- type of issue that occurredmessage
- human readable message provided in schematronfilepath
- absolute location of the filelocation
- context based on xpath where this occurredtest
- what the schematron was looking for
getExceptionType
public ExceptionType getExceptionType()
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
getPublicId
public String getPublicId()
getSystemId
public String getSystemId()
getLineNumber
public Integer getLineNumber()
getColumnNumber
public Integer getColumnNumber()
getSource
public String getSource()
Copyright © 2010-2012 Planetary Data System. All Rights Reserved.