com.facebook.stetho.dumpapp.DumpException.java Source code

Java tutorial

Introduction

Here is the source code for com.facebook.stetho.dumpapp.DumpException.java

Source

/*
 * Copyright (c) 2014-present, Facebook, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 */

package com.facebook.stetho.dumpapp;

import org.apache.commons.cli.ParseException;

/**
 * Exception thrown if there is a functional issue executing the specified commands.  This is
 * not thrown on {@link ParseException} (which represents a command-line syntax issue).
 * <p>
 * This exception's message should be human readable and will be printed to the dumpapp
 * caller.  dumpapp will also exit with a non-zero exit code.
 */
public class DumpException extends Exception {
    public DumpException(String message) {
        super(message);
    }
}