Class MetadataReaderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.n2oapp.framework.api.exception.N2oException
-
- net.n2oapp.framework.config.reader.MetadataReaderException
-
- All Implemented Interfaces:
Serializable
public class MetadataReaderException extends N2oException
User: iryabov Date: 06.05.13 Time: 13:25- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetadataReaderException(String message)MetadataReaderException(String message, Throwable cause)MetadataReaderException(Throwable cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidthrowExpectedElement(org.jdom.Element element, String expected)static voidthrowMissingAtLeastOneChildElement(org.jdom.Element element, String childName)static voidthrowMissingAtLeastOneElement(org.jdom.Element element)static voidthrowMoreThanOneChildElement(org.jdom.Element element)-
Methods inherited from class net.n2oapp.framework.api.exception.N2oException
addData, getChoice, getData, getField, getHttpStatus, getLocalizedMessage, getSeverity, getUserMessage, getView, setChoice, setData, setField, setHttpStatus, setSeverity, setUserMessage, setView, wrap
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
throwMoreThanOneChildElement
public static void throwMoreThanOneChildElement(org.jdom.Element element)
-
throwMissingAtLeastOneElement
public static void throwMissingAtLeastOneElement(org.jdom.Element element)
-
throwMissingAtLeastOneChildElement
public static void throwMissingAtLeastOneChildElement(org.jdom.Element element, String childName)
-
throwExpectedElement
public static void throwExpectedElement(org.jdom.Element element, String expected)
-
-