MalformedInputException Class

Definition

A MalformedInputException is thrown when a malformed input is encountered, for example if a byte sequence is illegal for the given charset.

[Android.Runtime.Register("java/nio/charset/MalformedInputException", ApiSince=1, DoNotGenerateAcw=true)]
public class MalformedInputException : Java.Nio.Charset.CharacterCodingException
type MalformedInputException = class
    inherit CharacterCodingException
Inheritance
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the  and used according to terms described in the 

Constructors

MalformedInputException(Int32)

Constructs a new MalformedInputException.

MalformedInputException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Fields

is_generated (Inherited from Throwable)

Properties

Cause

Returns the cause of this Throwable, or null if there is no cause.

(Inherited from Throwable)
Class (Inherited from Throwable)
Handle

The handle to the underlying Android instance.

(Inherited from Throwable)
InputLength

Gets the length of the malformed input.

JniIdentityHashCode (Inherited from Throwable)
JniPeerMembers
LocalizedMessage

Returns the detail message which was provided when this Throwable was created.

(Inherited from Throwable)
Message

Returns the detail message which was provided when this Throwable was created.

(Inherited from Throwable)
PeerReference (Inherited from Throwable)
StackTrace (Inherited from Throwable)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

AddSuppressed(Throwable)

Adds throwable to the list of throwables suppressed by this.

(Inherited from Throwable)
Dispose() (Inherited from Throwable)
Dispose(Boolean) (Inherited from Throwable)
FillInStackTrace()

Records the stack trace from the point where this method has been called to this Throwable.

(Inherited from Throwable)
GetStackTrace()

Returns a clone of the array of stack trace elements of this Throwable.

(Inherited from Throwable)
GetSuppressed()

Returns the throwables suppressed by this.

(Inherited from Throwable)
InitCause(Throwable)

Initializes the cause of this Throwable.

(Inherited from Throwable)
PrintStackTrace()

Writes a printable representation of this Throwable's stack trace to the System.err stream.

(Inherited from Throwable)
PrintStackTrace(PrintStream)

Writes a printable representation of this Throwable's stack trace to the given print stream.

(Inherited from Throwable)
PrintStackTrace(PrintWriter)

Writes a printable representation of this Throwable's stack trace to the specified print writer.

(Inherited from Throwable)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Throwable)
SetStackTrace(StackTraceElement[])

Sets the array of stack trace elements.

(Inherited from Throwable)
ToString() (Inherited from Throwable)
UnregisterFromRuntime() (Inherited from Throwable)

Explicit Interface Implementations

IJavaObjectEx.IsProxy (Inherited from Throwable)
IJavaObjectEx.KeyHandle (Inherited from Throwable)
IJavaObjectEx.NeedsActivation (Inherited from Throwable)
IJavaObjectEx.ToLocalJniHandle() (Inherited from Throwable)
IJavaPeerable.Disposed() (Inherited from Throwable)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Throwable)
IJavaPeerable.Finalized() (Inherited from Throwable)
IJavaPeerable.JniManagedPeerState (Inherited from Throwable)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Throwable)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Throwable)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Throwable)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to