org.apache.jackrabbit.core.persistence.util
Class ErrorHandling

java.lang.Object
  extended by org.apache.jackrabbit.core.persistence.util.ErrorHandling

public final class ErrorHandling
extends Object

ErrorHandling configuration abstraction class


Field Summary
static String IGNORE_MISSING_BLOBS
          Controls if references to missing blob resources are treaded as errors or not.
 
Constructor Summary
ErrorHandling()
          Creates a default error handling config.
ErrorHandling(String str)
          Creates a new error handling configuration based on the given string.
 
Method Summary
 boolean ignoreMissingBlobs()
          Checks if error handling is set to ignore missing blobs
 String toString()
          Returns the string representation where the flags are seperated with "|".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IGNORE_MISSING_BLOBS

public static final String IGNORE_MISSING_BLOBS
Controls if references to missing blob resources are treaded as errors or not.

See Also:
Constant Field Values
Constructor Detail

ErrorHandling

public ErrorHandling()
Creates a default error handling config.


ErrorHandling

public ErrorHandling(String str)
Creates a new error handling configuration based on the given string. The individual flags should be seperated with "|".

Parameters:
str - flags
Method Detail

ignoreMissingBlobs

public boolean ignoreMissingBlobs()
Checks if error handling is set to ignore missing blobs

Returns:
true if error handling is set to ignore missing blobs.

toString

public String toString()
Returns the string representation where the flags are seperated with "|".

Overrides:
toString in class Object
Returns:
the string representation.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.