spcp7.imagegallery.abstractionlayer.exception
Class ContentProviderAuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by spcp7.imagegallery.abstractionlayer.exception.ContentProviderAuthenticationException
All Implemented Interfaces:
java.io.Serializable

public class ContentProviderAuthenticationException
extends java.lang.Exception

This exception will be thrown if a connection to the specified content provider could not be established due to authentication reasons.

Author:
Phillip Merensky
See Also:
Exception, Serialized Form

Constructor Summary
ContentProviderAuthenticationException(java.lang.String contentProviderName)
           
ContentProviderAuthenticationException(java.lang.String message, java.lang.String contentProviderName)
           
ContentProviderAuthenticationException(java.lang.String message, java.lang.Throwable cause, java.lang.String contentProviderName)
           
ContentProviderAuthenticationException(java.lang.Throwable cause, java.lang.String contentProviderName)
           
 
Method Summary
 java.lang.String getContentProviderName()
           
 
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
 

Constructor Detail

ContentProviderAuthenticationException

public ContentProviderAuthenticationException(java.lang.String contentProviderName)
Parameters:
contentProviderName - The name of the content provider to which the authentication failed.

ContentProviderAuthenticationException

public ContentProviderAuthenticationException(java.lang.String message,
                                              java.lang.String contentProviderName)
Parameters:
message -
contentProviderName - The name of the content provider to which the authentication failed.

ContentProviderAuthenticationException

public ContentProviderAuthenticationException(java.lang.Throwable cause,
                                              java.lang.String contentProviderName)
Parameters:
cause -
contentProviderName - The name of the content provider to which the authentication failed.

ContentProviderAuthenticationException

public ContentProviderAuthenticationException(java.lang.String message,
                                              java.lang.Throwable cause,
                                              java.lang.String contentProviderName)
Parameters:
message -
cause -
contentProviderName - The name of the content provider to which the authentication failed.
Method Detail

getContentProviderName

public java.lang.String getContentProviderName()
Returns:
the name of the content provider to which the authentication failed.


Copyright © 2008. All Rights Reserved.