com.sun.javatest.tool
Class CommandContext.Fault

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sun.javatest.tool.CommandContext.Fault
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CommandContext

public class CommandContext.Fault
extends java.lang.Exception

This exception is used to report problems while executing a command.

See Also:
Serialized Form

Method Summary
 CommandContext getContext()
          Get the command context object that created this fault object.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getContext

public CommandContext getContext()
Get the command context object that created this fault object.

Returns:
the command context object that created this fault object


Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.