org.botlibre.sdk
Class SDKException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.botlibre.sdk.SDKException
All Implemented Interfaces:
java.io.Serializable

public class SDKException
extends java.lang.RuntimeException

Exception class for th SDKConnection. All exceptions will be thrown as SDKException runtime exceptions.

See Also:
Serialized Form

Constructor Summary
SDKException(java.lang.Exception exception)
           
SDKException(java.lang.String message)
           
SDKException(java.lang.String message, java.lang.Exception exception)
           
 
Method Summary
static SDKException parseFailure(java.lang.Exception exception)
           
 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SDKException

public SDKException(java.lang.Exception exception)

SDKException

public SDKException(java.lang.String message)

SDKException

public SDKException(java.lang.String message,
                    java.lang.Exception exception)
Method Detail

parseFailure

public static SDKException parseFailure(java.lang.Exception exception)