org.apache.directory.shared.ldap.message.spi
Class ProviderException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.directory.shared.ldap.RuntimeMultiException
                  extended byorg.apache.directory.shared.ldap.message.MessageException
                      extended byorg.apache.directory.shared.ldap.message.spi.ProviderException
All Implemented Interfaces:
java.io.Serializable

public class ProviderException
extends MessageException

This exception is thrown when provider specific errors occur.

Version:
$Revision: 379008 $
Author:
Alex Karasulu, $Author: akarasulu $
See Also:
Serialized Form

Constructor Summary
ProviderException(Provider a_provider)
          Constructs an Exception without a message.
ProviderException(Provider a_provider, java.lang.String a_message)
          Constructs an Exception with a detailed message.
 
Method Summary
 Provider getProvider()
          Gets the provider that caused this exception.
 
Methods inherited from class org.apache.directory.shared.ldap.RuntimeMultiException
addThrowable, isEmpty, listNestedExceptions, printStackTrace, printStackTrace, printStackTrace, size
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProviderException

public ProviderException(Provider a_provider)
Constructs an Exception without a message.

Parameters:
a_provider - The offending Provider that caused the exception.

ProviderException

public ProviderException(Provider a_provider,
                         java.lang.String a_message)
Constructs an Exception with a detailed message.

Parameters:
a_provider - The offending Provider that caused the exception.
a_message - The message associated with the exception.
Method Detail

getProvider

public Provider getProvider()
Gets the provider that caused this exception.

Returns:
the offensive Provider.


Copyright © 2003-2006 . All Rights Reserved.