Example usage for java.lang RuntimeException subclass-usage

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

Introduction

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

Usage

From source file de.jaetzold.philips.hue.HueCommException.java

/**
 * An Exception thrown by calls to the hue API when something regarding the communication with the bridge device is not right.
 * It always contains a {@link JSONObject} describing the error. This may be the result of a (failed) request to the bridge device.
 * If there is no actual request that returned such an error object one is created with a 'description' property.
 *
 * @author Stephan Jaetzold <p><small>Created at 21.03.13, 18:39</small>

From source file org.openmrs.module.metadatasharing.task.TaskException.java

/**
 * Represents any task exception.
 */
public class TaskException extends RuntimeException {

    private static final long serialVersionUID = 1L;

From source file org.uiautomation.ios.webInspector.DOM.RemoteExceptionException.java

public class RemoteExceptionException extends RuntimeException {
    private int code;
    private String message;
    private JSONObject command;

    public RemoteExceptionException(int code, String message, JSONObject command) {

From source file com.sworddance.util.ApplicationNullPointerException.java

/**
 * The application was looking for a non-null value and discovered that the
 * value being checked was null. This is to distinguish from a
 * JDK-generated {@link NullPointerException}.
 * @author Patrick Moore
 */

From source file com.lab.http.server.simple.ExitException.java

public class ExitException extends RuntimeException implements ExitCodeGenerator {

    @Override
    public int getExitCode() {
        return 10;
    }

From source file com.google.orkut.client.api.RequiredFieldNotFoundException.java

public class RequiredFieldNotFoundException extends RuntimeException {
    private final String fieldName;
    private final JSONObject obj;

    RequiredFieldNotFoundException(String fieldName, JSONObject obj) {
        super("Required field (" + fieldName + ") not present in " + obj.toString());

From source file com.sourceallies.beanoh.exception.MissingComponentException.java

/**
 * Signals that a class annotated with org.springframework.stereotype.Component
 * was located in the classpath that was not loaded by Spring
 * 
 * @author David Kessler
 * 

From source file org.trustedanalytics.cloud.cc.api.customizations.FeignResponseException.java

public class FeignResponseException extends RuntimeException {

    private final HttpStatus statusCode;

    public FeignResponseException(int statusCode, String message) {
        super(message);

From source file com.vmware.identity.interop.vmafd.VmAfdException.java

public class VmAfdException extends RuntimeException {
    private static final long serialVersionUID = -3883881422891852899L;
    private int _errCode = -1;

    public VmAfdException(int errCode, String errMsg) {
        super(errMsg);

From source file com.dastko.devbookmarks.exception.InvalidRequestException.java

public class InvalidRequestException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    BindingResult errors;