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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.directory.shared.ldap.RuntimeMultiException
                  extended by org.apache.directory.shared.ldap.message.MessageException
                      extended by org.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: 437007 $
Author:
Apache Directory Project
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-2011 Apache Software Foundation. All Rights Reserved.