Class ExecError

  extended by com.novell.zos.jdl.ExecError

public class ExecError
extends java.lang.Object

ExecError is raised for errors in executing a command line using the Exec class or system(). Normal raising of this error causes the Joblet to fail. Put this Error in an try except block to handle the error.

Example to handle an ExecError:

      class MyJoblet(Joblet):
          def joblet_started_event(self):
                  e = Exec()
                  e.setCommand("ls -la")
              except ExecError:
                  print "ls failed. but okay to continue"

Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Copyright (c) 2008 Novell, Inc. All rights reserved.