From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- .../com/sleepycat/util/ExceptionUnwrapper.html | 540 +++++++++++---------- 1 file changed, 271 insertions(+), 269 deletions(-) (limited to 'docs/java/com/sleepycat/util/ExceptionUnwrapper.html') diff --git a/docs/java/com/sleepycat/util/ExceptionUnwrapper.html b/docs/java/com/sleepycat/util/ExceptionUnwrapper.html index 28d1dd96..0b7f828f 100644 --- a/docs/java/com/sleepycat/util/ExceptionUnwrapper.html +++ b/docs/java/com/sleepycat/util/ExceptionUnwrapper.html @@ -1,289 +1,291 @@ - - - - - -ExceptionUnwrapper (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.util -
-Class ExceptionUnwrapper

-
-java.lang.Object
-  extended by com.sleepycat.util.ExceptionUnwrapper
-
-
-
-
public class ExceptionUnwrapper
extends Object
- - -

-Unwraps nested exceptions by calling the ExceptionWrapper.getCause() method for exceptions that implement the - ExceptionWrapper interface. Does not currently support the Java 1.4 - Throwable.getCause() method. -

- -

-


- -

- +

+
com.sleepycat.util
+

Class ExceptionUnwrapper

+
+
+ +
+
    +
  • +
    +
    +
    public class ExceptionUnwrapper
    +extends java.lang.Object
    +
    Unwraps nested exceptions by calling the ExceptionWrapper.getCause() method for exceptions that implement the + ExceptionWrapper interface. Does not currently support the Java 1.4 + Throwable.getCause() method.
    +
  • +
+
+
+
    +
  • - - - - - - - - - -
    -Constructor Summary
    ExceptionUnwrapper() - -
    -           
    -  +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ExceptionUnwrapper() 
      +
    • +
    - - - - - - - - - - - - - - -
    -Method Summary
    -static Exceptionunwrap(Exception e) - -
    -          Unwraps an Exception and returns the underlying Exception, or throws an - Error if the underlying Throwable is an Error.
    -static ThrowableunwrapAny(Throwable e) - -
    -          Unwraps an Exception and returns the underlying Throwable.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - +

      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static java.lang.Exceptionunwrap(java.lang.Exception e) +
      Unwraps an Exception and returns the underlying Exception, or throws an + Error if the underlying Throwable is an Error.
      +
      static java.lang.ThrowableunwrapAny(java.lang.Throwable e) +
      Unwraps an Exception and returns the underlying Throwable.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Constructor Detail
    - -

    -ExceptionUnwrapper

    -
    -public ExceptionUnwrapper()
    -
    -
    - +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ExceptionUnwrapper

        +
        public ExceptionUnwrapper()
        +
      • +
      +
    • +
    - - - - - - -
    -Method Detail
    - -

    -unwrap

    -
    -public static Exception unwrap(Exception e)
    -
    -
    Unwraps an Exception and returns the underlying Exception, or throws an - Error if the underlying Throwable is an Error. -

    -

    -
    Parameters:
    e - is the Exception to unwrap. -
    Returns:
    the underlying Exception. -
    Throws: -
    Error - if the underlying Throwable is an Error. -
    IllegalArgumentException - if the underlying Throwable is not an - Exception or an Error.
    -
    -
    -
    - -

    -unwrapAny

    -
    -public static Throwable unwrapAny(Throwable e)
    -
    -
    Unwraps an Exception and returns the underlying Throwable. -

    -

    -
    Parameters:
    e - is the Exception to unwrap. -
    Returns:
    the underlying Throwable.
    -
    -
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        unwrap

        +
        public static java.lang.Exception unwrap(java.lang.Exception e)
        +
        Unwraps an Exception and returns the underlying Exception, or throws an + Error if the underlying Throwable is an Error.
        +
        Parameters:
        e - is the Exception to unwrap.
        +
        Returns:
        the underlying Exception.
        +
        Throws:
        +
        java.lang.Error - if the underlying Throwable is an Error.
        +
        java.lang.IllegalArgumentException - if the underlying Throwable is not an + Exception or an Error.
        +
      • +
      + + + +
        +
      • +

        unwrapAny

        +
        public static java.lang.Throwable unwrapAny(java.lang.Throwable e)
        +
        Unwraps an Exception and returns the underlying Throwable.
        +
        Parameters:
        e - is the Exception to unwrap.
        +
        Returns:
        the underlying Throwable.
        +
      • +
      +
    • +
    +
  • +
+
+
-
- - - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved. - - +

Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.

+ + -- cgit v1.2.1