1 /******************************************************************************* 2 * Copyright (c) 2010, 2014 Sonatype, Inc. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * Sonatype, Inc. - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.aether.installation; 12 13 import org.eclipse.aether.RepositoryException; 14 15 /** 16 * Thrown in case of an installation error like an IO error. 17 */ 18 public class InstallationException 19 extends RepositoryException 20 { 21 22 /** 23 * Creates a new exception with the specified detail message. 24 * 25 * @param message The detail message, may be {@code null}. 26 */ 27 public InstallationException( String message ) 28 { 29 super( message ); 30 } 31 32 /** 33 * Creates a new exception with the specified detail message and cause. 34 * 35 * @param message The detail message, may be {@code null}. 36 * @param cause The exception that caused this one, may be {@code null}. 37 */ 38 public InstallationException( String message, Throwable cause ) 39 { 40 super( message, cause ); 41 } 42 43 }