Top Description Fields Constructors
org.python.core

pack-priv Class ZeroDivisionError

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

The Python ZeroDivisionError exception.

Field Summary

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

Hides org.python.core.ArithmeticError.TYPE.

The type of Python object this class implements.

Constructor Summary

AccessConstructor and Description
protected
ZeroDivisionError(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
ZeroDivisionError(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.ArithmeticError.serialVersionUID.

TYPEback to summary
pack-priv static final PyType TYPE

Hides org.python.core.ArithmeticError.TYPE.

The type of Python object this class implements.

Constructor Detail

ZeroDivisionErrorback to summary
protected ZeroDivisionError(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

ZeroDivisionErrorback to summary
public ZeroDivisionError(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