|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.novell.zos.jdl.ExecError
public class ExecError
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):
try:
e = Exec()
e.setCommand("ls -la")
e.execute()
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 |
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||