org.eclipse.paho.client.mqttv3.internal
Class ExceptionHelper
java.lang.Object
org.eclipse.paho.client.mqttv3.internal.ExceptionHelper
public class ExceptionHelper
- extends Object
Utility class to help create exceptions of the correct type.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionHelper
public ExceptionHelper()
createMqttException
public static MqttException createMqttException(int reasonCode)
createMqttException
public static MqttException createMqttException(Throwable cause)
isClassAvailable
public static boolean isClassAvailable(String className)
- Returns whether or not the specified class is available to the current
class loader. This is used to protect the code against using Java SE
APIs on Java ME.
Copyright © 2013. All Rights Reserved.