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 com.wiiyaya.framework.common.exception.ValidateException.java

/**
 * <p>??</p>
 *
 * <p>??{@link org.springframework.validation.annotation.Validated}??</p>
 *
 * <p>??attr.???.</p>

From source file com.thoughtworks.go.config.exceptions.ElasticAgentsResourceUpdateException.java

public class ElasticAgentsResourceUpdateException extends Exception {
    public ElasticAgentsResourceUpdateException(List<String> elasticAgents) {
        super(String.format("Can not update resources on Elastic Agents [%s]",
                StringUtils.join(elasticAgents, ", ")));
    }
}

From source file com.thoughtworks.go.config.exceptions.InvalidPendingAgentOperationException.java

public class InvalidPendingAgentOperationException extends Exception {
    public InvalidPendingAgentOperationException(List<String> allPendingAgents) {
        super(String.format("Invalid operation performed on pending agents: [%s]",
                StringUtils.join(allPendingAgents, ", ")));
    }
}

From source file jetcd.EtcdException.java

/** An Etcd Exception. */
public final class EtcdException extends Exception {
    private final int errorCode;
    private final String cause;
    private final String message;
    private final long index;

From source file com.citruspay.mobile.payment.client.rest.ApplicationException.java

public class ApplicationException extends Exception {

    private static final long serialVersionUID = 1L;

    protected final JSONObject content;

From source file org.droidparts.http.HTTPException.java

public class HTTPException extends Exception {

    private static final long serialVersionUID = 1L;

    private int respCode = -1;

From source file io.github.azige.bbs.web.ForbiddenException.java

/**
 *
 * @author Azige
 */
@ResponseStatus(HttpStatus.FORBIDDEN)
public class ForbiddenException extends Exception {

From source file io.github.azige.bbs.web.ResourceNotFoundException.java

/**
 *
 * @author Azige
 */
@ResponseStatus(HttpStatus.NOT_FOUND)
public class ResourceNotFoundException extends Exception {

From source file io.github.azige.bbs.web.UnauthorizedException.java

/**
 *
 * @author Azige
 */
@ResponseStatus(HttpStatus.UNAUTHORIZED)
public class UnauthorizedException extends Exception {

From source file org.jboss.dashboard.ui.components.FieldException.java

public class FieldException extends Exception {
    private static transient org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory
            .getLog(FieldException.class.getName());

    private FactoryURL property;
    private Object propertyValue;