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 MyException.java

class MyException extends Exception {
    private int detail;

    MyException(int a) {
        detail = a;
    }

From source file MyException.java

class MyException extends Exception {
    private int detail;

    MyException(int a) {
        detail = a;
    }

From source file MyException.java

class MyException extends Exception {
    private int detail;

    MyException(int a) {
        detail = a;
    }

From source file netload.Exceptions.DatabaseException.java

/**
 * Copyright (C) 10/02/17 martijn.
 * <p>
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or

From source file netload.Exceptions.ScraperException.java

/**
 * Copyright (C) 10/02/17 martijn.
 * <p>
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or

From source file netload.Exceptions.ServerStatusException.java

/**
 * Copyright (C) 10/02/17 martijn.
 * <p>
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or

From source file netload.Exceptions.UpdateException.java

/**
 * Copyright (C) 10/02/17 martijn.
 * <p>
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or

From source file com.miserablemind.api.consumer.tradeking.api.impl.StreamCreationException.java

@SuppressWarnings("serial")
class StreamCreationException extends Exception {

    private HttpStatus httpStatus;

    public StreamCreationException(String message, HttpStatus httpStatus) {

From source file com.xinferin.dao.CustomerNotCreatedException.java

@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "The specified customer cannot be created!")
public class CustomerNotCreatedException extends Exception {
    private static final long serialVersionUID = 3743678621227623970L;

    public CustomerNotCreatedException() {
        super();

From source file com.xinferin.dao.RegistrationNotCreatedException.java

@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "The specified registration cannot be created!")
public class RegistrationNotCreatedException extends Exception {
    private static final long serialVersionUID = 8090344305523186411L;

    public RegistrationNotCreatedException() {
        super();