Package org.javarosa.xml.util
Class InvalidStructureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.javarosa.xml.util.InvalidStructureException
- All Implemented Interfaces:
Serializable
public class InvalidStructureException extends Exception
Invalid Structure Exceptions are thrown when an invalid
definition is found while parsing XML defining CommCare
Models.
- Author:
- ctsims
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InvalidStructureException(String message)InvalidStructureException(String message, String file, org.kxml2.io.KXmlParser parser)InvalidStructureException(String message, org.kxml2.io.KXmlParser parser) -
Method Summary
Modifier and Type Method Description static InvalidStructureExceptionreadableInvalidStructureException(String message, org.kxml2.io.KXmlParser parser)Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidStructureException
- Parameters:
message- A Message associated with the error.parser- The parser in the position at which the error was detected.
-
InvalidStructureException
- Parameters:
message- A Message associated with the error.parser- The parser in the position at which the error was detected.file- The file being parsed
-
InvalidStructureException
-
-
Method Details
-
readableInvalidStructureException
public static InvalidStructureException readableInvalidStructureException(String message, org.kxml2.io.KXmlParser parser)
-