com.sun.star.comp.helper

Class BootstrapException


public class BootstrapException
extends java.lang.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(Exception target)
Constructs a BootstrapException with a 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.

Method Summary

Exception
getTargetException()
Get the thrown target exception.

Constructor Details

BootstrapException

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


BootstrapException

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

Parameters:
target - 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

Method Details

getTargetException

public Exception getTargetException()
Get the thrown target exception.

Returns:
the target exception