com.sun.star.comp.helper

Class BootstrapException

public class BootstrapException extends Exception

BootstrapException is a checked exception that wraps an exception thrown by the original target.

Since: UDK 3.1.0

Constructor Summary
BootstrapException()
Constructs a BootstrapException with null as the target exception.
BootstrapException(String message)
Constructs a BootstrapException with the specified detail message.
BootstrapException(String message, Exception target)
Constructs a BootstrapException with the specified detail message and a target exception.
BootstrapException(Exception target)
Constructs a BootstrapException with a target exception.
Method Summary
ExceptiongetTargetException()
Get the thrown target exception.

Constructor Detail

BootstrapException

public BootstrapException()
Constructs a BootstrapException with null as the target exception.

BootstrapException

public BootstrapException(String message)
Constructs a BootstrapException with the specified detail message.

Parameters: message the detail message

BootstrapException

public BootstrapException(String message, Exception target)
Constructs a BootstrapException with the specified detail message and a target exception.

Parameters: message the detail message target the target exception

BootstrapException

public BootstrapException(Exception target)
Constructs a BootstrapException with a target exception.

Parameters: target the target exception

Method Detail

getTargetException

public Exception getTargetException()
Get the thrown target exception.

Returns: the target exception