com.redhat.persistence
Class ProtoException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.redhat.persistence.ProtoException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CursorException, DuplicateObjectException, EngineException, FlushException, MetadataException, NoSuchPathException, NullException, SQLWriterException, TypeException

public abstract class ProtoException
extends RuntimeException

This is the base class for exceptions in persistence. By default these exceptions are assumed to be internal exceptions - bugs in the implementation. If code in the implementation determines the exception is fault of the client, the exception is flagged so that it is not internal. At the top level internal exceptions are converted to UncheckedWrapperExceptions so that they will not be caught as persistence exceptions.

See Also:
Serialized Form

Nested Class Summary
static class ProtoException.Role
           
 
Field Summary
static ProtoException.Role OBJECT
           
static ProtoException.Role PROPERTY
           
static ProtoException.Role VALUE
           
 
Constructor Summary
protected ProtoException()
           
protected ProtoException(boolean internal)
           
protected ProtoException(String msg)
           
protected ProtoException(String msg, boolean internal)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OBJECT

public static final ProtoException.Role OBJECT

PROPERTY

public static final ProtoException.Role PROPERTY

VALUE

public static final ProtoException.Role VALUE
Constructor Detail

ProtoException

protected ProtoException()

ProtoException

protected ProtoException(boolean internal)

ProtoException

protected ProtoException(String msg)

ProtoException

protected ProtoException(String msg,
                         boolean internal)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC