Top Description Fields Constructors
org.python.core

public Class LookupError

extends PyException
Class Inheritance
Imports
java.lang.invoke.MethodHandles

The Python LookupError exception.

Field Summary

Modifier and TypeField and Description
private static final long
pack-priv static final PyType
TYPE

Hides org.python.core.PyException.TYPE.

The type object of Python LookupError exceptions.

Constructor Summary

AccessConstructor and Description
protected
LookupError(PyType
object being constructed
type
,
String
a Java format string for the message
msg
,
Object...
to insert in the format string
args
)

Constructor for sub-class use specifying type.

public
LookupError(String
a Java format string for the message
msg
,
Object...
to insert in the format string
args
)

Constructor specifying a message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.python.core.PyException.serialVersionUID.

TYPEback to summary
pack-priv static final PyType TYPE

Hides org.python.core.PyException.TYPE.

The type object of Python LookupError exceptions.

Annotations
@SuppressWarnings:hiding

Constructor Detail

LookupErrorback to summary
protected LookupError(PyType type, String msg, Object... args)

Constructor for sub-class use specifying type.

Parameters
type:PyType

object being constructed

msg:String

a Java format string for the message

args:Object[]

to insert in the format string

LookupErrorback to summary
public LookupError(String msg, Object... args)

Constructor specifying a message.

Parameters
msg:String

a Java format string for the message

args:Object[]

to insert in the format string