Package net.razorvine.pickle.objects
Class ExceptionConstructor
- java.lang.Object
-
- net.razorvine.pickle.objects.ExceptionConstructor
-
- All Implemented Interfaces:
IObjectConstructor
public class ExceptionConstructor extends java.lang.Object implements IObjectConstructor
This creates Python Exception instances. It keeps track of the original Python exception type name as well.- Author:
- Irmen de Jong (irmen@razorvine.net)
-
-
Constructor Summary
Constructors Constructor Description ExceptionConstructor(java.lang.Class<?> type, java.lang.String module, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectconstruct(java.lang.Object[] args)Create an object.
-
-
-
Method Detail
-
construct
public java.lang.Object construct(java.lang.Object[] args)
Description copied from interface:IObjectConstructorCreate an object. Use the given args as parameters for the constructor.- Specified by:
constructin interfaceIObjectConstructor
-
-