Example usage for java.lang Exception subclass-usage

List of usage examples for java.lang Exception subclass-usage

Introduction

In this page you can find the example usage for java.lang Exception subclass-usage.

Usage

From source file fr.jetoile.hadoopunit.exception.BootstrapException.java

public class BootstrapException extends Exception {
    public BootstrapException(String s, ConfigurationException e) {
        super(s, e);
    }

    public BootstrapException(String s) {

From source file com.twitter.hbc.httpclient.ControlStreamException.java

public class ControlStreamException extends Exception {

    private final int statusCode;

    public ControlStreamException(StatusLine statusLine) {
        super(statusLine.getStatusCode() + ": " + statusLine.getReasonPhrase());

From source file Test.java

class InvalidParameter extends java.lang.Exception {
    public InvalidParameter() {
        super("Invalid Parameter");
    }
}

From source file com.intel.cosbench.client.amplistor.AmpliException.java

/**
 * @author ywang19
 * 
 */
public class AmpliException extends Exception {

From source file org.eredlab.g4.ccl.net.tftp.TFTPPacketException.java

/***
 * A class used to signify the occurrence of an error in the creation of
 * a TFTP packet.  It is not declared final so that it may be subclassed
 * to identify more specific errors.  You would only want to do this if
 * you were building your own TFTP client or server on top of the
 * {@link org.apache.commons.net.tftp.TFTP}

From source file com.intel.cosbench.client.swift.SwiftException.java

public class SwiftException extends Exception {

    private Header[] httpHeaders;
    private StatusLine httpStatusLine;

    public SwiftException(String message, Header[] httpHeaders, StatusLine httpStatusLine) {

From source file com.android.volley.VolleyError.java

/**
 * Exception style class encapsulating Volley errors
 */
@SuppressWarnings("serial")
public class VolleyError extends Exception {
    public final NetworkResponse networkResponse;

From source file com.intel.cosbench.client.cdmi.base.CdmiException.java

public class CdmiException extends Exception {

    private Header[] httpHeaders;
    private StatusLine httpStatusLine;

    public CdmiException(String message, Header[] httpHeaders, StatusLine httpStatusLine) {

From source file com.intel.cosbench.client.cdmiswift.SwiftException.java

public class SwiftException extends Exception {

    private Header[] httpHeaders;
    private StatusLine httpStatusLine;

    public SwiftException(String message, Header[] httpHeaders, StatusLine httpStatusLine) {

From source file org.eleusoft.uri.apache.CodecException.java

/**
 * Thrown when a Decoder has encountered a failure condition during a decode. 
 * 
 * @author Apache Software Foundation
 * @version $Id: CodecException.java,v 1.1 2007/07/10 18:19:30 mik Exp $
 */