blob: 6e7f4226fbe991f309da31375ee8c9f1234d31e8 [file] [log] [blame]
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.base.library_loader;
/** The exception that is thrown when the initialization of a process has failed. */
public class ProcessInitException extends RuntimeException {
/**
* @param errorCode This will be one of the LoaderErrors error codes.
*/
public ProcessInitException(@LoaderErrors int errorCode) {
super("errorCode=" + errorCode);
}
/**
* @param errorCode This will be one of the LoaderErrors error codes.
* @param failureCause The wrapped Throwable obj.
*/
public ProcessInitException(@LoaderErrors int errorCode, Throwable failureCause) {
super("errorCode=" + errorCode, failureCause);
}
}