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. --- docs/java/com/sleepycat/db/PanicHandler.html | 406 ++++++++++++++------------- 1 file changed, 204 insertions(+), 202 deletions(-) (limited to 'docs/java/com/sleepycat/db/PanicHandler.html') diff --git a/docs/java/com/sleepycat/db/PanicHandler.html b/docs/java/com/sleepycat/db/PanicHandler.html index 0796d6ea..f61a442e 100644 --- a/docs/java/com/sleepycat/db/PanicHandler.html +++ b/docs/java/com/sleepycat/db/PanicHandler.html @@ -1,227 +1,229 @@ - - - - - -PanicHandler (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.db -
-Interface PanicHandler

-
-
-
public interface PanicHandler
- - -

-An interface specifying a function to be called if the database -environment panics. -

- -

-


- -

- +

+
com.sleepycat.db
+

Interface PanicHandler

+
+
+
+
    +
  • +
    +
    +
    public interface PanicHandler
    +
    An interface specifying a function to be called if the database +environment panics.
    +
  • +
+
+
+
    +
  • - - - - - - - - - - -
    -Method Summary
    - voidpanic(Environment environment, - DatabaseException e) - -
    -          A function to be called if the database environment panics.
    -  -

    - +

      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidpanic(Environment environment, + DatabaseException e) +
      A function to be called if the database environment panics.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Method Detail
    - -

    -panic

    -
    -void panic(Environment environment,
    -           DatabaseException e)
    -
    -
    A function to be called if the database environment panics. +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        panic

        +
        void panic(Environment environment,
        +         DatabaseException e)
        +
        A function to be called if the database environment panics.

        Errors can occur in the Berkeley DB library where the only solution is to shut down the application and run recovery (for example, if Berkeley DB is unable to allocate heap memory). In such cases, the - Berkeley DB methods will throw a RunRecoveryException. + Berkeley DB methods will throw a RunRecoveryException.

        It is often easier to simply exit the application when such errors occur rather than gracefully return up the stack. The panic - callback function is a function called when RunRecoveryException is about to be thrown from a from a + callback function is a function called when RunRecoveryException is about to be thrown from a from a Berkeley DB method. -

        -

        -

        -
        Parameters:
        environment - The enclosing database environment handle. -

        e - The DatabaseException that would have been thrown to - the calling method.
        -
        -
    +

+
Parameters:
environment - The enclosing database environment handle. +

e - The DatabaseException that would have been thrown to + the calling method.
+ + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-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