public class SchemaDefinitionException
extends java.lang.IllegalArgumentException
Constructor and Description |
---|
SchemaDefinitionException(electric.xml.Attribute att,
java.lang.String msg) |
SchemaDefinitionException(electric.xml.Attribute att,
java.lang.String msg,
java.lang.Throwable cause) |
SchemaDefinitionException(electric.xml.Element el,
java.lang.String msg) |
SchemaDefinitionException(electric.xml.Element el,
java.lang.String msg,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getMessagePrefix(electric.xml.Attribute att)
Returns a readable prefix for a attribute (
Attribute )
If the attribute is null, a fix String will be returned |
static java.lang.String |
getMessagePrefix(electric.xml.Element el)
Returns a readable prefix for a
Element
If the element is null, or the root document for is null,
a fix String will be returned |
public SchemaDefinitionException(electric.xml.Attribute att, java.lang.String msg)
public SchemaDefinitionException(electric.xml.Attribute att, java.lang.String msg, java.lang.Throwable cause)
public SchemaDefinitionException(electric.xml.Element el, java.lang.String msg)
public SchemaDefinitionException(electric.xml.Element el, java.lang.String msg, java.lang.Throwable cause)
public static final java.lang.String getMessagePrefix(electric.xml.Attribute att)
Attribute
)
If the attribute is null, a fix String
will be returnedatt
- the Attribute
to get prefix forString
for the attributepublic static final java.lang.String getMessagePrefix(electric.xml.Element el)
Element
If the element is null, or the root document for is null,
a fix String
will be returnedel
- the Element
to get prefix forString
for the elementCopyright © 2000-2024 OAshi S.à r.l. All Rights Reserved.