com.mucommander.desktop
Class DesktopInitialisationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.mucommander.desktop.DesktopInitialisationException
All Implemented Interfaces:
java.io.Serializable

public class DesktopInitialisationException
extends java.lang.Exception

Encapsulates errors that occur at DesktopAdapter initialisation time.

This class can contain basic error information from either the com.mucommander.desktop API or the application. Application writers can subclass it to provide additional functionality.

If the application needs to pass through other types of exceptions, it must wrap them in a DesktopInitialisationException or an exception derived from it.

Author:
Nicolas Rinaudo
See Also:
Serialized Form

Constructor Summary
DesktopInitialisationException(java.lang.String message)
          Creates a new desktop initialisation exception.
DesktopInitialisationException(java.lang.String message, java.lang.Throwable cause)
          Creates a new desktop initialisation exception from an existing exception.
DesktopInitialisationException(java.lang.Throwable cause)
          Creates a new desktop initialisation exception wrapping an existing exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DesktopInitialisationException

public DesktopInitialisationException(java.lang.String message)
Creates a new desktop initialisation exception.

Parameters:
message - the error message.

DesktopInitialisationException

public DesktopInitialisationException(java.lang.Throwable cause)
Creates a new desktop initialisation exception wrapping an existing exception.

The existing exception will be embedded in the new one, and its message will become the default message for the DesktopInitialisationException.

Parameters:
cause - the exception to be wrapped in a DesktopInitialisationException.

DesktopInitialisationException

public DesktopInitialisationException(java.lang.String message,
                                      java.lang.Throwable cause)
Creates a new desktop initialisation exception from an existing exception.

The existing exception will be embedded in the new one, but the new exception will have its own message.

Parameters:
message - the detail message.
cause - the exception to be wrapped in a DesktopInitialisationException.


This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard