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 org.apache.ranger.plugin.util.RangerServiceNotFoundException.java

public class RangerServiceNotFoundException extends Exception {
    static private final String formatString = "\"RANGER_ERROR_SERVICE_NOT_FOUND: ServiceName=%s\"";

    public RangerServiceNotFoundException(String serviceName) {
        super(serviceName);
    }

From source file org.edc.sstone.CheckedException.java

/**
 * Because we want to minimize the number of classes, I am including this generic checked exception
 * class that can handle reason codes. We can catch other checked exceptions, translate to this,
 * rethrow, and then consumers can read the reason code and do something sensible.
 * 
 * @author Greg Orlowski

From source file org.envirocar.app.storage.MeasurementSerializationException.java

public class MeasurementSerializationException extends Exception {

    public MeasurementSerializationException(JSONException e) {
        super(e);
    }

From source file io.getlime.security.powerauth.app.server.service.exceptions.GenericServiceException.java

/**
 * Exception for any SOAP interface error.
 *
 * @author Petr Dvorak
 */
@SoapFault(faultCode = FaultCode.SERVER)

From source file dk.clanie.exception.AbstractException.java

/**
 * Common superclass for all exceptions.
 * 
 * @author Claus Nielsen
 */
@SuppressWarnings("serial")

From source file com.basicservice.service.exceptions.InvalidRequestException.java

/**
 * An exception thrown when an invalid request is received
 */

public class InvalidRequestException extends Exception {
    private HttpStatus httpStatus;

From source file org.xbmc.kore.jsonrpc.ApiException.java

/**
 * Exception class for errors on JSON API.
 * Some communication exceptions are catched and casted to this type.
 * Response error from the JSON API are also returned as an instance of this exception.
 */
public class ApiException extends Exception {

From source file net.sourceforge.jcctray.exceptions.HTTPErrorException.java

/**
 * Thrown when an {@link HttpMethod} fails to execute.
 * 
 * @author Ketan Padegaonkar
 */
public class HTTPErrorException extends Exception {

From source file edu.harvard.mcz.imagecapture.exceptions.ConnectionException.java

/**
 * @author mole
 *
 */
public class ConnectionException extends Exception {

From source file net.sourceforge.vulcan.exception.ProjectNeedsDependencyException.java

public final class ProjectNeedsDependencyException extends Exception {
    final String[] projectsToDelete;
    final String[] dependantProjects;

    public ProjectNeedsDependencyException(final String[] projectsToDelete, final String[] dependantProjects) {
        this.projectsToDelete = projectsToDelete;