Class 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.Object construct​(java.lang.Object[] args)
      Create an object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExceptionConstructor

        public ExceptionConstructor​(java.lang.Class<?> type,
                                    java.lang.String module,
                                    java.lang.String name)
    • Method Detail

      • construct

        public java.lang.Object construct​(java.lang.Object[] args)
        Description copied from interface: IObjectConstructor
        Create an object. Use the given args as parameters for the constructor.
        Specified by:
        construct in interface IObjectConstructor