Android Open Source - Android-API Clear Blade Exception






From Project

Back to project page Android-API.

License

The source code is released under:

Apache License

If you think the Android project Android-API listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.clearblade.platform.api;
//from  www .  ja v  a 2 s  . co  m
@SuppressWarnings("serial")
/**
 * This class consists of methods that will throw an API specific message.
 * 
 * <p>It extends the Exception class
 * <strong>*It is not serializable*</strong>
 * </p>
 * @author Clyde Byrd III
 * @see Exception
 */
public class ClearBladeException extends Exception {
  /**
   *  Constructs a new ClearBladeException with null as its detail message.
   *  
   *  <p>Constructs a new exception with null as its detail message. 
   *  The cause is not initialized, and may subsequently be initialized 
   *  by a call to Throwable.initCause(java.lang.Throwable).</p>
   */
  public ClearBladeException() {
    super(); 
  }

  /**
   *   Constructs a new ClearBladeException with the specified detail message.
   *   <p>
   *   The cause is not initialized, and may subsequently be initialized
   *   by a call to Throwable.initCause(java.lang.Throwable).
   *   </p>
   * @param message the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
   */
  public ClearBladeException(String message) { 
    super(message); 
  }

  /**
   *   Constructs a new ClearBladeException with the specified detail message and cause.
   *   <p>
   *   Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.
   *   </p>
   * @param message the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
   * @param cause  the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
   */
  public ClearBladeException(String message, Throwable cause) { 
    super(message, cause);
  }

  /**
   *  Constructs a new ClearBladeException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
   * @param cause  the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
   */
  public ClearBladeException(Throwable cause) { 
    super(cause); 
  }

}




Java Source Code List

com.clearblade.platform.api.ClearBladeException.java
com.clearblade.platform.api.ClearBlade.java
com.clearblade.platform.api.CodeCallback.java
com.clearblade.platform.api.Code.java
com.clearblade.platform.api.Collection.java
com.clearblade.platform.api.DataCallback.java
com.clearblade.platform.api.HistoryItem.java
com.clearblade.platform.api.History.java
com.clearblade.platform.api.InitCallback.java
com.clearblade.platform.api.Item.java
com.clearblade.platform.api.MessageCallback.java
com.clearblade.platform.api.Message.java
com.clearblade.platform.api.QueryResponse.java
com.clearblade.platform.api.Query.java
com.clearblade.platform.api.User.java
com.clearblade.platform.api.internal.DataTask.java
com.clearblade.platform.api.internal.MessageMqttCallback.java
com.clearblade.platform.api.internal.MessageReceiver.java
com.clearblade.platform.api.internal.MessageService.java
com.clearblade.platform.api.internal.MessageTask.java
com.clearblade.platform.api.internal.PlatformCallback.java
com.clearblade.platform.api.internal.PlatformResponse.java
com.clearblade.platform.api.internal.RequestEngine.java
com.clearblade.platform.api.internal.RequestProperties.java
com.clearblade.platform.api.internal.UserTask.java
com.clearblade.platform.api.internal.Util.java