net.sf.xisemele.exception
Class ElementIndexOutOfBoundsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.xisemele.exception.XisemeleException
                  extended by net.sf.xisemele.exception.ElementIndexOutOfBoundsException
All Implemented Interfaces:
java.io.Serializable

public class ElementIndexOutOfBoundsException
extends XisemeleException

Exceção disparada quando tentar acessar um elemento XML para um índice inválido.

Author:
Carlos Eduardo Coral.
See Also:
Serialized Form

Constructor Summary
ElementIndexOutOfBoundsException(java.lang.String parentElement, int index)
          Cria uma nova instância de ElementIndexOutOfBoundsException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementIndexOutOfBoundsException

public ElementIndexOutOfBoundsException(java.lang.String parentElement,
                                        int index)
Cria uma nova instância de ElementIndexOutOfBoundsException.

Parameters:
parentElement - java.lang.String contendo o nome do elemento pai do qual se tentou acessar um elemento filho em uma posição inválida.
index - int contendo o índice inválido.


Copyright © 2009. All Rights Reserved.