listadeexcepciones

24
Clase IndexOutOfBoundsException (Excepción Indice Fuera De Rango) Todas las Interfaces Implementadas: Serializable Subcases Directas Conocidas: ArrayIndexOutOfBoundsException, StringIndexOutOfBoundsException public class IndexOutOfBoundsException extends RuntimeException Propagada para indicar que un índice de cualquier tipo (como el de una matriz, de una cadena o de un vector) esta fuera de rango. Las aplicaciones pueden usar sus subclases para indicar excepciones similares. Desde: JDK 1.0 Ver además: Forma Serializada Constructor y Descripción IndexOutOfBoundsException() Construye un IndexOutOfBounsException sin ningún mensaje detallado IndexOutOfBoundsException(String msg) Construye un IndexOutOfBoundsException con un mensaje especifico detallado SUMARIO DE CONSTRUCTORES Constructores Métodos heredados de la clase java.lang.Throwable addSuppressed , fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , getSuppressed , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString Métodos heredados de la clase java.lang.Object clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait

Upload: 6luis9

Post on 24-Oct-2014

46 views

Category:

Documents


0 download

TRANSCRIPT

Clase IndexOutOfBoundsException (Excepcin Indice Fuera De Rango) Todas las Interfaces Implementadas: Serializable Subcases Directas Conocidas: ArrayIndexOutOfBoundsException, StringIndexOutOfBoundsException public class IndexOutOfBoundsException extends RuntimeException Propagada para indicar que un ndice de cualquier tipo (como el de una matriz, de una cadena o de un vector) esta fuera de rango. Las aplicaciones pueden usar sus subclases para indicar excepciones similares. Desde: JDK 1.0 Ver adems: Forma Serializada SUMARIO DE CONSTRUCTORES Constructores Constructor y Descripcin IndexOutOfBoundsException() Construye un IndexOutOfBounsException sin ningn mensaje detallado IndexOutOfBoundsException(String msg) Construye un IndexOutOfBoundsException con un mensaje especifico detallado

SUMARIO DE METODOS

Mtodos heredados de la clase java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage,getStackTrace,getSuppressed,initCause,printStackTrace, printStackTrace, printStackTrace,setStackTrace, toString

Mtodos heredados de la clase java.lang.Object clone, equals, finalize,getClass, hashCode, notify,notifyAll, wait, wait, waitDETALLE DE LOS CONSTRUCTORES IndexOutOfBoundsException public IndexOutOfBoundsException() Construye un IndexOutOfBoundsException sin un mensaje detallado.

IndexOutOfBoundsException public IndexOutOfBoundsException(String msg) Construye un IndexOutOfBoundsException con un mensaje especfico detallado. Parmetros: msg=mensaje detallado de la excepcin.

Clase ArrayIndexOutOfBoundsException (Excepcin ndice del Arreglo Fuera de Rango) Todas la Interfaces Implementadas Serializable

public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException Provocada para indica r que se ha accedido a un arreglo con un ndice ilegal. Este ndice es negativo o es mayor-igual que el tamao del arreglo. Desde: JDK1.0 Ver adems: Forma Serializada. SUMARIO DE CONSTRUCTORES. Constructores. Constructor y Descripcin. ArrayIndexOutOfBoundsException() Construye una clase ArrayIndexOutOfBoundsException sin un mensaje detallado ArrayIndexOutOfBoundsException(int indice) Construye una nueva clase ArrayIndexOutOfBoundsException con un argumento que indica el ndice ilegal. ArrayIndexOutOfBoundsException(String msg) Construye una nueva clase ArrayIndexOutOfBoundsException con un mensaje especfico detallado.

SUMARIO DE METODOS Mtodos heredados de la clase java.lang.Throwable addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace,getSuppressed,initCause,printStackTrace, printStackTrace, printStackTrace,setStackTrace, toString Mtodos heredados de la clase java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

DETALLE DEL CONSTRUCTOR ArrayIndexOutOfBoundsException public ArrayIndexOutOfBoundsException() Construye un ArrayIndexOutOfBoundsException sin un mensaje detallado.

ArrayIndexOutOfBoundsException public ArrayIndexOutOfBoundsException(int indice) Construye una nueva clase ArrayIndexOutOfBoundsException con un argumento que indica el ndice ilegal. Parmetros: Indice-el ndice ilegal

ArrayIndexOutOfBoundsException public ArrayIndexOutOfBoundsException(String msg) Construye una clase ArrayIndexOutOfBoundsException con un mensaje especfico detallado. Parmetros: msg-Mensage Detallado

Clase StringIndexOutOfBoundsException (Indice de la cadena fuera de rango) Todas la interfaces implementadas: Serializable. public class StringIndexOutOfBoundsException extends IndexOutOfBoundsException Propagada por un mtodo String (cadena) para indicar que un ndice es negativo o es mayor que el tamao de la cadena. Para algunos mtodos, como el mtodo de chartAt, esta excepcin es propagada cuando el ndice es igual al tamao de la cadena. Desde: JDK1.0 Ver adems: String.chartAt (int), Forma serializada SUMARIO DE CONSTRUCTORES Constructores Constructor y Descripcin StringIndexOutOfBoundsException() Construye un StringIndexOutOfBoundsException sin un mensaje detallado. StringIndexOutOfBoundsException(int indice) Construye una nueva clase StringIndexOutOfBoundsException con un argumento que indica el ndice ilegal StringIndexOutOfBoundsException(String msg) Construye una clase StringIndexOutOfBoundsException con un mensaje especifico detallado

SUMARIO DE METODOS Mtodos heredados de la clase java.lang.Throwable addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage,getStackTrace,getSuppressed, initCause,printStackTrace, printStackTrace, printStackTrace,setStackTrace, toString Mtodos heredados de la clase java.lang.Objectclone,equals,finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Detalle de los constructores StringIndexOutOfBoundsException public StringIndexOutOfBoundsException() Construye un StringIndexOutOfBoundsException sin un mensaje detallado.

StringIndexOutOfBoundsException public StringIndexOutOfBoundsException(int indice) Construye una nueva clase StringIndexOutOfBoundsException con un argumento que indica el ndice ilegal. Parmetros: ndice-Valor del ndice ilegal

StringIndexOutOfBoundsException public StringIndexOutOfBoundsException(String msg) Construye una nueva clase StringIndexOutOfBoundsException detallando un mensaje especifico Parmetros: msg-Mensaje Especifico

Clase JMRunTimeException Todas la interfaces implementadas: Serializable. Subclases directas conocidas: MonitorSettingException, RuntimeErrorException, RuntimeMBeanException, RuntimeOperationsException public class JMRunTimeException extends RunTimeException Excepcin en tiempo de ejecucin emitida por implementaciones de JMX (Java Management Extensions/Extensiones de Manejo de Java) Desde: 1.5 Ver Tambin: Forma Serializada SUMARIO DE CONSTRUCTORES Constructor Constructor y Descripcin JMRunTimeException() Constructor por defecto JMRunTimeException(String msg) Constructor que describe un mensaje especifico del error

SUMARIO DE METODOS Mtodos heredados de la clase java.lang.Throwable addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace,printStackTrace, printStackTrace,setStackTrace, toString Mtodos heradados de la clase java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

DETALLE DEL CONSTRUCTOR JMRuntimeException public JMRuntimeException() Constructor por defecto

JMRuntimeException Public JMRutimeException(String msg) Constructor que permite especificar un mensaje sobre el error Msg-Mensaje especifico del error

Clase MonitorSettingException (Excepcin C configuracin del Monitor) Todas la interfaces implementadas: Serializable public class MonitorSettingException extends JMRuntimeException Excepcin propagada por el monitor cuando una configuracin del monitor se vuelve invalida mientras el monitor esta trabajando. Como los atributos del monitor pueden cambiar en tiempo de ejecucin, una revisin en ejecutada antes de cada observacin. Si un atributo del monitor se ha vuelto invalido, una excepcin de configuracin del monitor es propagada. Desde: 1.5 Ver adems: Forma serializada RESUMEN DE CONSTRUCTOR Constructor Constructor y Descripcin MonitorSettingException() Constructor por defecto MonitorSettingException(String msg) Constructor que permite especificar un mensaje de error

RESUMEN DE METODOS Mtodos heredados de la clase java.lang.Throwable addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace,printStackTrace, printStackTrace,setStackTrace, toString Mtodos heredados de la clase java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait DETALLE DEL CONSTRUCTOR MonitorSettingException public MonitorSettingException() Constructor por defecto MonitorSettingException Public MonitorSettingException(String msg) Constructor que permite especificar un mensaje de error Parmetros: Msg-Mensaje de Error

Clase RuntimeErrorException (Excepcin Error en Tiempo de Ejecucin) Todas las interfaces implementadas: Serializable public class RuntimeErrorException extends JMRuntimeException Cuando un java.lang.Error ocurre dentro de un agente (programa autnomo que pose cierta inteligencia y es capas de reconocer su entorno) debe de ser capturado y re-propagado como una RuntimeErrorException (Error en tiempo de ejecucin) Desde: 1.5 Ver tambin: Forma serializada

RESUMEN DE CONSTRUCTOR Constructor RuntimeErrorException RuntimeErrorException(Error e) Constructor por defecto RuntimeErrorException(Error e, String msg) Constructor que permite especificar un mensaje del error

RESUMEN DE METODOS Mtodos heredados de la clase java.lang.Throwable addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace,printStackTrace, printStackTrace,setStackTrace, toString Mtodos heredados de la clase java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

DETALLE DEL CONSTRUCTOR RuntimeErrorException public RuntimeErrorException(Error e) Constructor por defecto Parmetros: e-Error envuelto

RuntimeErrorException public RuntimeErrorException(Error e,String msg) Constructor que permite especificar un mensaje sobre el error Parmetros: e-error envuelto msg-mensaje sobre el error

DETALLE DEL METODO getTargetError public Error getTargetError() Retorna el error propagado actualmente getTargetError Public Throwable getCause() Retorna el error propagado actualmente Anulaciones: getCause en la clase Throwable

Clase RuntimeMBeanException (Excepcin en tiempo de ejecucin de un MBean) Todas las interfaces implementadas: Serializable public class RuntimeMBeanException extends JMRuntimeException Representa un error en tiempo de ejecucin propagada por un mtodo de un MBean (Objeto especial que permite almacenar otros objetos dentro de l) en un agente. Se envuelve la excepcin java.lang.RuntimeException producida actualmente. Esta excepcin ser tratada por el ServidorMBean cuando se llame al mtodo del MBean que produce la excepcin en tiempo de ejecucin. Desde: 1.5 Ver adems: Forma serializada RESUMEN DEL CONSTRUCTOR Constructor Constructor y Descripcin RuntimeMBeanException(RuntimeException e) Crea un RuntimeMBeanException que envuelve la excepcin actual de java.lang.RuntimeException RuntimeMBeanException(RuntimeException e,String msg) Crea un RuntimeMBeanException que envuelve la excepcin actual de java.lang.RuntimeException y permite detallar un mensaje especifico

RESUMEN DE METODOS Modificacin y tipo Throwable RuntimeException Mtodo y descripcin getCause() Retorna la RuntimeException producida actualmente getTargetException() Retorna la RuntimeException producida actualmente

DETALLE DEL CONSTRUCTOR RuntimeMBeanException public RuntimeMBeanException(RuntimeException e) Crea un RuntimeMBeanException que envuelve a la actual excepcin java.lang.RuntimeException Parmetros: e-la excepcin envuelta/capturada

RuntimeMBeanException Public RuntimeMBeanException(RuntimeException, String msg) Parmetros: e-excepcin envuelta msg-mensaje detallado sobre el error

DETALLE DEL METODO getTargetException public RuntimeException getTargetException() Retorna la RuntimeException (excepcin en tiempo de ejecucin) producida actualmente getCause public Throwable getCause() Retorna la RuntimeException producida actualmente

Clase RuntimeOperationsException (Excepcin de operacin en tiempo de ejecucin) Todas las interfaces implementadas: Serializable public class RuntimeOperationsException extends JMRuntimeException Representa una excepcin en tiempo de ejecucin producida en el agente cuando se ejecutan operaciones de un MBean. Envuelve la excepcin java.lang.RuntimeException producida actualmente. Desde: 1.5 Ver tambin: Forma Serializada RESUMEN DEL CONSTRUCTOR Constructor Constructor y Descripcin RuntimeOperationsException(RuntimeException e) Crea una clase RuntimeOperationsException que envuelve la excepcin java.lang.RuntimeException producida actualmente RuntimeOperationsException(RuntimeException e, String msg) Crea una clase RuntimeOperationsException que envuelve la excepcin java.lang.RuntimeException producida actualmente y permite especificar un mensaje sobre la excepcin

RESUMEN DE METODOS Mtodos Modificador y tipo Throwable RuntimeException Mtodo y descripcin getCause() Retorna la RuntimeException producida actualmente getTargetException() Retorna la RuntimeException producida actualmente

DETALLE DEL CONSTRUCTOR RuntimeOperationsException public RuntimeOperationsException(RuntimeException e) Crea una clase RuntimeOperationsException que envuelve la excepcin java.lang.RuntimeException producida actualmente Parmetros: e-la excepcin envuelta

RuntimeOperationsException public RuntimeOperationsException(RuntimeException e,String msg) Crea una clase RuntimeOperationsException que envuelve la excepcin java.lang.RuntimeException producida actualmente y permite especificar un mensaje sobre el error Parmetros: e-la excepcin envuelta msg-mensaje detallado

DETALLE DE LOS METODOS getTargetException public RuntimeException getTargetException() Retorna la RuntimeException (excepcin en tiempo de ejecucin) producida actualmente getCause public Throwable getCause() Retorna la RuntimeException producida actualmente

Clase LSException (Excepcin del Servidor local) Todas las interfaces implementadas: Serializable public class LSException extends RuntimeException Analizar o escribir operaciones puede provocar una LSException (Excepcin del Servidor Local) si el proceso es detenido. El proceso puede ser detenido debido a un DOMError (Error del Modelo en Objetos para representar Documentos) con la gravedad de un DOMError.SEVERITY_FATAL_ERROR (error fatal del modelado de objetos para documentos) o a un no recuperado DOMError.SEVERITY_ERROR (error severo de modelo de objetos para documentos) o si un DOMErrorHandler.handleError () retorna un falso. Nota: Como se sugiere en la definicin de constantes en la interfaz DOMError, puede seleccionarse una implementacin de DOM para continuar despus de un error fatal, pero el rbol del DOM es dependiente su implementacin. RESUMEN DE CAMPOS Campos Tipos short static short Campo y Descripcin code PARSE_ERR Si se ha hecho un intento de cargar un documento o un fragmento de XML utilizando un LSParser(Analizador de Servidor Local) y el proceso se ha detenido SERIALIZE_ERR Si se ha intentado serializar un Nodo usando un LSSerializer (Serializador del Servidor local)y el proceso se ha detenido

Static short

RESUMEN DE CONSTRUCTORES Constructores Constructor y descripcin LSException(short code, String msg)

DETALLE DE CAMPOR Code public short code (cdigo corto) PARSE_ERR public static final short PARSE_ERR Si se ha hecho un intento de cargar un documento o un fragmento de XML utilizando un LSParser(Analizador de Servidor Local) y el proceso se ha detenido SERIALIZE_ERR Public static final short SERIALIZE_ERR Si se ha intentado serializar un Nodo usando un LSSerializer (Serializador del Servidor local)y el proceso se ha detenido

DETALLE DEL CONSTRUCTOR LSException public LSException(short code, String msg)

Clase MalformedParameterizedTypeException (Excepcin tipo de parmetros mal formados) public class MalformedParameterizedTypeException extends RuntimeException Producida cuando un tipo de parmetro semntico malformado es encontrado por un mtodo reflexivo que lo necesita como instancia. Por ejemplo, si el numero de tipos de argumentos para ser un tipo de parmetro es incorrecto. RESUMEN DE CONSTRUCTOR Constructor Constructor y descripcin MalformedParameterizedTypeException()

DETALLE DEL CONSTRUCTOR MalformedParameterizedTypeException public MalformedParameterizedTypeException()

Clase MirroredTypesException (Excepcin de tipos espejo) public class MirroredTypesException extends RuntimeException Se produce cuando una aplicacin intenta acceder a una secuencia de objetos Class correspondientes a un TypeMirror (Tipo espejo). RESUMEN DEL CONSTRUCTOR Constructor Constructor y descripcin MirroredTypesException(List