All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.scribe.exceptions.OAuthException Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
package org.scribe.exceptions;

/**
 * Default scribe exception. 
 * Represents a problem in the OAuth signing process
 * 
 * @author Pablo Fernandez
 */
public class OAuthException extends RuntimeException
{

  /**
   * Default constructor 
   * @param message message explaining what went wrong
   * @param e original exception
   */
  public OAuthException(String message, Exception e)
  {
    super(message, e);
  }

  /**
   * No-exception constructor. Used when there is no original exception
   *  
   * @param message message explaining what went wrong
   */
  public OAuthException(String message)
  {
    super(message, null);
  }

  private static final long serialVersionUID = 1L;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy