Cytoscape 2.8.0 API

cytoscape.command
Class CyCommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by cytoscape.command.CyCommandException
All Implemented Interfaces:
Serializable

public class CyCommandException
extends Exception

The CyCommandException is thrown when a CyCommandHandler encounters an exception condition.

See Also:
Serialized Form

Constructor Summary
CyCommandException(String message)
          Create a CyCommandException with a message, but no results
CyCommandException(String message, CyCommandResult results)
          Create a CyCommandException with a message and a set of results
CyCommandException(String message, Throwable cause)
          Create a CyCommandException with a message and a root cause but no results
CyCommandException(String message, Throwable cause, CyCommandResult results)
          Create a CyCommandException with a message, a cause, and a set of results
CyCommandException(Throwable cause)
          Create a CyCommandException with a root cause but no results
 
Method Summary
 
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
 

Constructor Detail

CyCommandException

public CyCommandException(String message)
Create a CyCommandException with a message, but no results

Parameters:
message - the message to include

CyCommandException

public CyCommandException(Throwable cause)
Create a CyCommandException with a root cause but no results

Parameters:
cause - the cause of the exception

CyCommandException

public CyCommandException(String message,
                          Throwable cause)
Create a CyCommandException with a message and a root cause but no results

Parameters:
message - the message to include
cause - the cause of the exception

CyCommandException

public CyCommandException(String message,
                          CyCommandResult results)
Create a CyCommandException with a message and a set of results

Parameters:
message - the message to include
results - the (possibly intermediate) results from this execution

CyCommandException

public CyCommandException(String message,
                          Throwable cause,
                          CyCommandResult results)
Create a CyCommandException with a message, a cause, and a set of results

Parameters:
message - the message to include
cause - the cause of the exception
results - the (possibly intermediate) results from this execution

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.