APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.tools.javac.util

public Class InvalidUtfException

extends Exception
Class Inheritance

Exception thrown when invalid Modified UTF-8 is encountered.

This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.

See Also
Convert#utf2chars, Convert#utfValidate

Field Summary

Modifier and TypeField and Description
private final int
private static final long

Constructor Summary

AccessConstructor and Description
public
InvalidUtfException(int offset)

Method Summary

Modifier and TypeMethod and Description
public int
getOffset()

Get the byte[] array offset at which the invalid data was found.

Field Detail

offsetback to summary
private final int offset
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Constructor Detail

InvalidUtfExceptionback to summary
public InvalidUtfException(int offset)

Method Detail

getOffsetback to summary
public int getOffset()

Get the byte[] array offset at which the invalid data was found.