|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.python.core.PyObject
org.python.core.exceptions
public class exceptions
The builtin exceptions module. The entire module should be imported from python. None of the methods defined here should be called from java.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.python.core.PyObject |
---|
PyObject.ConversionException |
Field Summary | |
---|---|
static String |
__doc__
|
Fields inherited from class org.python.core.PyObject |
---|
TYPE |
Constructor Summary | |
---|---|
exceptions()
|
Method Summary | |
---|---|
static PyObject |
bindStaticJavaMethod(String name,
Class<?> cls,
String methodName)
|
static PyObject |
bindStaticJavaMethod(String name,
String methodName)
|
static void |
classDictInit(PyObject dict)
Internal use only. |
static void |
EnvironmentError__init__(PyObject self,
PyObject[] args,
String[] kwargs)
|
static PyObject |
EnvironmentError__reduce__(PyObject self,
PyObject[] args,
String[] kwargs)
|
static PyObject |
EnvironmentError__str__(PyObject self,
PyObject[] args,
String[] kwargs)
|
static PyObject |
EnvironmentError()
|
static int |
getEnd(PyObject self,
boolean unicode)
Determine the end position for UnicodeErrors. |
static int |
getInt(PyObject attr,
String name)
Parse an int value for UnicodeErrors |
static int |
getStart(PyObject self,
boolean unicode)
Determine the start position for UnicodeErrors. |
static PyString |
getString(PyObject attr,
String name)
Ensure a PyString value for UnicodeErrors |
static PyUnicode |
getUnicode(PyObject attr,
String name)
Ensure a PyUnicode value for UnicodeErrors |
static PyObject |
KeyError__str__(PyObject self,
PyObject[] args,
String[] kwargs)
|
static PyObject |
KeyError()
|
static void |
SyntaxError__init__(PyObject self,
PyObject[] args,
String[] kwargs)
|
static PyString |
SyntaxError__str__(PyObject self,
PyObject[] arg,
String[] kwargs)
|
static PyObject |
SyntaxError()
|
static void |
SystemExit__init__(PyObject self,
PyObject[] args,
String[] kwargs)
|
static PyObject |
SystemExit()
|
static void |
UnicodeDecodeError__init__(PyObject self,
PyObject[] args,
String[] kwargs)
|
static PyString |
UnicodeDecodeError__str__(PyObject self,
PyObject[] args,
String[] kwargs)
|
static PyObject |
UnicodeDecodeError()
|
static void |
UnicodeEncodeError__init__(PyObject self,
PyObject[] args,
String[] kwargs)
|
static PyString |
UnicodeEncodeError__str__(PyObject self,
PyObject[] args,
String[] kwargs)
|
static PyObject |
UnicodeEncodeError()
|
static void |
UnicodeError__init__(PyObject self,
PyObject[] args,
String[] kwargs,
PyType objectType)
|
static PyObject |
UnicodeError()
|
static void |
UnicodeTranslateError__init__(PyObject self,
PyObject[] args,
String[] kwargs)
|
static PyString |
UnicodeTranslateError__str__(PyObject self,
PyObject[] args,
String[] kwargs)
|
static PyObject |
UnicodeTranslateError()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static String __doc__
Constructor Detail |
---|
public exceptions()
Method Detail |
---|
public static void classDictInit(PyObject dict)
public static PyObject SyntaxError()
public static void SyntaxError__init__(PyObject self, PyObject[] args, String[] kwargs)
public static PyString SyntaxError__str__(PyObject self, PyObject[] arg, String[] kwargs)
public static PyObject EnvironmentError()
public static void EnvironmentError__init__(PyObject self, PyObject[] args, String[] kwargs)
public static PyObject EnvironmentError__str__(PyObject self, PyObject[] args, String[] kwargs)
public static PyObject EnvironmentError__reduce__(PyObject self, PyObject[] args, String[] kwargs)
public static PyObject SystemExit()
public static void SystemExit__init__(PyObject self, PyObject[] args, String[] kwargs)
public static PyObject KeyError()
public static PyObject KeyError__str__(PyObject self, PyObject[] args, String[] kwargs)
public static PyObject UnicodeError()
public static void UnicodeError__init__(PyObject self, PyObject[] args, String[] kwargs, PyType objectType)
public static PyObject UnicodeDecodeError()
public static void UnicodeDecodeError__init__(PyObject self, PyObject[] args, String[] kwargs)
public static PyString UnicodeDecodeError__str__(PyObject self, PyObject[] args, String[] kwargs)
public static PyObject UnicodeEncodeError()
public static void UnicodeEncodeError__init__(PyObject self, PyObject[] args, String[] kwargs)
public static PyString UnicodeEncodeError__str__(PyObject self, PyObject[] args, String[] kwargs)
public static PyObject UnicodeTranslateError()
public static void UnicodeTranslateError__init__(PyObject self, PyObject[] args, String[] kwargs)
public static PyString UnicodeTranslateError__str__(PyObject self, PyObject[] args, String[] kwargs)
public static int getStart(PyObject self, boolean unicode)
self
- a UnicodeError valueunicode
- whether the UnicodeError object should be
unicode
public static int getEnd(PyObject self, boolean unicode)
self
- a UnicodeError valueunicode
- whether the UnicodeError object should be
unicode
public static int getInt(PyObject attr, String name)
attr
- a PyObjectname
- of the attribute
public static PyString getString(PyObject attr, String name)
attr
- a PyObjectname
- of the attribute
public static PyUnicode getUnicode(PyObject attr, String name)
attr
- a PyObjectname
- of the attribute
public static PyObject bindStaticJavaMethod(String name, String methodName)
public static PyObject bindStaticJavaMethod(String name, Class<?> cls, String methodName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |