com.skype
Class CommandFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.skype.SkypeException
              extended by com.skype.CommandFailedException
All Implemented Interfaces:
Serializable

public final class CommandFailedException
extends SkypeException

This exception is used for commands that get a ERROR reply.

Author:
Koji Hisano
See Also:
Serialized Form

Method Summary
 int getCode()
          returns the error code.
 String getMessage()
          Returns the humanreadible error message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

getCode

public int getCode()
returns the error code.

Returns:
error code.

getMessage

public String getMessage()
Returns the humanreadible error message.

Overrides:
getMessage in class Throwable
Returns:
message.


Copyright © 2004-2011. All Rights Reserved.