nu.validator.relaxng.exceptions
Class StringNotAllowedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.xml.sax.SAXException
              extended by org.xml.sax.SAXParseException
                  extended by nu.validator.relaxng.exceptions.AbstractValidationException
                      extended by nu.validator.relaxng.exceptions.StringNotAllowedException
All Implemented Interfaces:
Serializable

public class StringNotAllowedException
extends AbstractValidationException

See Also:
Serialized Form

Field Summary
private  Map exceptions
           
private  String value
           
 
Fields inherited from class nu.validator.relaxng.exceptions.AbstractValidationException
localizer
 
Constructor Summary
StringNotAllowedException(Locator locator, Name currentElement, Name parent, String value, Map exceptions)
           
 
Method Summary
private static String formatMessage(Name currentElement, String value, Map exceptions)
           
 Map getExceptions()
          Returns the exceptions.
 String getValue()
          Returns the value.
 
Methods inherited from class nu.validator.relaxng.exceptions.AbstractValidationException
getCurrentElement, getParent
 
Methods inherited from class org.xml.sax.SAXParseException
getColumnNumber, getLineNumber, getPublicId, getSystemId
 
Methods inherited from class org.xml.sax.SAXException
getException, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

private final String value

exceptions

private final Map exceptions
Constructor Detail

StringNotAllowedException

public StringNotAllowedException(Locator locator,
                                 Name currentElement,
                                 Name parent,
                                 String value,
                                 Map exceptions)
Method Detail

formatMessage

private static String formatMessage(Name currentElement,
                                    String value,
                                    Map exceptions)

getValue

public String getValue()
Returns the value.

Returns:
the value

getExceptions

public Map getExceptions()
Returns the exceptions.

Returns:
the exceptions