Package com.sun.star.comp.helper
Class BootstrapException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.star.comp.helper.BootstrapException
-
- All Implemented Interfaces:
Serializable
public class BootstrapException extends Exception
BootstrapException is a checked exception that wraps an exception thrown by the original target.- Since:
- UDK 3.1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BootstrapException()
Constructs aBootstrapException
withnull
as the target exception.BootstrapException(Exception target)
Constructs aBootstrapException
with a target exception.BootstrapException(String message)
Constructs aBootstrapException
with the specified detail message.BootstrapException(String message, Exception target)
Constructs aBootstrapException
with the specified detail message and a target exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exception
getTargetException()
Get the thrown target exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BootstrapException
public BootstrapException()
Constructs aBootstrapException
withnull
as the target exception.
-
BootstrapException
public BootstrapException(String message)
Constructs aBootstrapException
with the specified detail message.- Parameters:
message
- the detail message
-
BootstrapException
public BootstrapException(String message, Exception target)
Constructs aBootstrapException
with the specified detail message and a target exception.- Parameters:
message
- the detail messagetarget
- the target exception
-
BootstrapException
public BootstrapException(Exception target)
Constructs aBootstrapException
with a target exception.- Parameters:
target
- the target exception
-
-
Method Detail
-
getTargetException
public Exception getTargetException()
Get the thrown target exception.- Returns:
- the target exception
-
-