Home | History | Annotate | Download | only in exception
      1 /*
      2 * Copyright (C) 2012 The Android Open Source Project
      3 *
      4 * Licensed under the Apache License, Version 2.0 (the "License");
      5 * you may not use this file except in compliance with the License.
      6 * You may obtain a copy of the License at
      7 *
      8 *      http://www.apache.org/licenses/LICENSE-2.0
      9 *
     10 * Unless required by applicable law or agreed to in writing, software
     11 * distributed under the License is distributed on an "AS IS" BASIS,
     12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13 * See the License for the specific language governing permissions and
     14 * limitations under the License.
     15 */
     16 package com.motorola.studio.android.emulator.core.exception;
     17 
     18 import com.motorola.studio.android.common.exception.AndroidException;
     19 
     20 /**
     21  * Represents an exception thrown if the emulator instance cannot be started
     22  */
     23 @SuppressWarnings("serial")
     24 public class InstanceStartException extends AndroidException
     25 {
     26     /**
     27      * Creates a new InstanceStartException object.
     28      */
     29     public InstanceStartException()
     30     {
     31     }
     32 
     33     /**
     34      * @param message the message used by the Exception.
     35      */
     36     public InstanceStartException(String message)
     37     {
     38         super(message);
     39     }
     40 
     41     /**
     42      * @param cause the associated cause.
     43      */
     44     public InstanceStartException(Throwable cause)
     45     {
     46         super(cause);
     47     }
     48 
     49     /**
     50      * @param message the message used by the Exception.
     51      * @param cause the associated cause.
     52      */
     53     public InstanceStartException(String message, Throwable cause)
     54     {
     55         super(message, cause);
     56     }
     57 }
     58