org.installguru.installer
Class InstallException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.installguru.installer.InstallException
All Implemented Interfaces:
java.io.Serializable

public class InstallException
extends java.lang.Exception

Thrown by the methods of install tasks. This exception aorts the install operation.

See Also:
Serialized Form

Constructor Summary
InstallException()
          Creates a new instance of InstallException without detail message.
InstallException(java.lang.String msg)
          Constructs an instance of InstallException with the specified detail message.
InstallException(java.lang.String msg, java.lang.Exception e)
          Constructs an instance of InstallException with the specified detail message and a nested exception.
 
Method Summary
 java.lang.Exception getNestedException()
          Getter for property nestedException.
 void setNestedException(java.lang.Exception nestedException)
          Setter for property nestedException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstallException

public InstallException()
Creates a new instance of InstallException without detail message.

InstallException

public InstallException(java.lang.String msg)
Constructs an instance of InstallException with the specified detail message.
Parameters:
msg - the detail message.

InstallException

public InstallException(java.lang.String msg,
                        java.lang.Exception e)
Constructs an instance of InstallException with the specified detail message and a nested exception.
Parameters:
msg - the detail message.
e - nested exception.
Method Detail

getNestedException

public java.lang.Exception getNestedException()
Getter for property nestedException.
Returns:
Value of property nestedException.

setNestedException

public void setNestedException(java.lang.Exception nestedException)
Setter for property nestedException.
Parameters:
nestedException - New value of property nestedException.