DateTimeParseException Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| DateTimeParseException(IntPtr, JniHandleOwnership) | |
| DateTimeParseException(String, ICharSequence, Int32) |
Construye una nueva excepción con el mensaje especificado. |
| DateTimeParseException(String, String, Int32) | |
| DateTimeParseException(String, ICharSequence, Int32, Throwable) |
Construye una nueva excepción con el mensaje y la causa especificados. |
| DateTimeParseException(String, String, Int32, Throwable) |
DateTimeParseException(IntPtr, JniHandleOwnership)
protected DateTimeParseException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Time.Format.DateTimeParseException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Time.Format.DateTimeParseException
Parámetros
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership
Se aplica a
DateTimeParseException(String, ICharSequence, Int32)
Construye una nueva excepción con el mensaje especificado.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;I)V", "", ApiSince=26)]
public DateTimeParseException (string? message, Java.Lang.ICharSequence? parsedData, int errorIndex);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;I)V", "", ApiSince=26)>]
new Java.Time.Format.DateTimeParseException : string * Java.Lang.ICharSequence * int -> Java.Time.Format.DateTimeParseException
Parámetros
- message
- String
el mensaje que se va a usar para esta excepción puede ser NULL.
- parsedData
- ICharSequence
el texto analizado, no debe ser NULL.
- errorIndex
- Int32
el índice de la cadena analizada que no era válida, debe ser un índice válido.
- Atributos
Comentarios
Construye una nueva excepción con el mensaje especificado.
Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el proyecto de código abierto de Android y se usan según los términos descritos en la licencia de atribución de Creative Commons 2.5.
Se aplica a
DateTimeParseException(String, String, Int32)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;I)V", "", ApiSince=26)]
public DateTimeParseException (string? message, string? parsedData, int errorIndex);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;I)V", "", ApiSince=26)>]
new Java.Time.Format.DateTimeParseException : string * string * int -> Java.Time.Format.DateTimeParseException
Parámetros
- message
- String
- parsedData
- String
- errorIndex
- Int32
- Atributos
Se aplica a
DateTimeParseException(String, ICharSequence, Int32, Throwable)
Construye una nueva excepción con el mensaje y la causa especificados.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;ILjava/lang/Throwable;)V", "", ApiSince=26)]
public DateTimeParseException (string? message, Java.Lang.ICharSequence? parsedData, int errorIndex, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;ILjava/lang/Throwable;)V", "", ApiSince=26)>]
new Java.Time.Format.DateTimeParseException : string * Java.Lang.ICharSequence * int * Java.Lang.Throwable -> Java.Time.Format.DateTimeParseException
Parámetros
- message
- String
el mensaje que se va a usar para esta excepción puede ser NULL.
- parsedData
- ICharSequence
el texto analizado, no debe ser NULL.
- errorIndex
- Int32
el índice de la cadena analizada que no era válida, debe ser un índice válido.
- cause
- Throwable
la excepción de causa, puede ser NULL.
- Atributos
Comentarios
Construye una nueva excepción con el mensaje y la causa especificados.
Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el proyecto de código abierto de Android y se usan según los términos descritos en la licencia de atribución de Creative Commons 2.5.
Se aplica a
DateTimeParseException(String, String, Int32, Throwable)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;ILjava/lang/Throwable;)V", "", ApiSince=26)]
public DateTimeParseException (string? message, string? parsedData, int errorIndex, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;ILjava/lang/Throwable;)V", "", ApiSince=26)>]
new Java.Time.Format.DateTimeParseException : string * string * int * Java.Lang.Throwable -> Java.Time.Format.DateTimeParseException
Parámetros
- message
- String
- parsedData
- String
- errorIndex
- Int32
- cause
- Throwable
- Atributos