# Xerces2 Implementation: Class XMLSchemaException

## org.apache.xerces.impl.xs
Class XMLSchemaException

    java.lang.Object
      |
      +--java.lang.Throwable
            |
            +--java.lang.Exception
                  |
                  +--org.apache.xerces.impl.xs.XMLSchemaException

All Implemented Interfaces:
  java.io.Serializable

public class XMLSchemaException
extends java.lang.Exception

This exception might be thrown by any constraint checking method.

Version:
  $Id: XMLSchemaException.java,v 1.4 2002/01/29 01:15:14 lehors Exp $
Author:
  Elena Litani, IBM
See Also:
  Serialized Form

Constructor Summary
`XMLSchemaException(java.lang.String key, java.lang.Object[] args)`

Method Summary
`java.lang.Object[]` `getArgs()`
`java.lang.String` `getKey()`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### XMLSchemaException

    public XMLSchemaException(java.lang.String key,
                              java.lang.Object[] args)

Method Detail

### getKey

    public java.lang.String getKey()

### getArgs

    public java.lang.Object[] getArgs()

Copyright © 1999-2004 Apache XML Project. All Rights Reserved.