com.ionetrics.lib.annotatorcomm
Class CommandFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.ionetrics.lib.annotatorcomm.CommandFailedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CommandDependentStatusException

public class CommandFailedException
extends java.io.IOException

A CommandFailedException indicates an IOException condition in which the Command ID is valid but the command failed to execute properly.

See Also:
Serialized Form

Constructor Summary
CommandFailedException(java.lang.String message, byte status)
          Construct a CommandFailedException.
 
Method Summary
 byte getStatus()
          Get the command status code.
 
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

CommandFailedException

public CommandFailedException(java.lang.String message,
                              byte status)
Construct a CommandFailedException.

Parameters:
message - detail message
status - command status code
Method Detail

getStatus

public byte getStatus()
Get the command status code.

Returns:
status code


Copyright © 2006 Ionetrics Corp. All Rights Reserved.