org.jasig.portal
Class ResourceMissingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jasig.portal.PortalException
                  extended by org.jasig.portal.ResourceMissingException
All Implemented Interfaces:
Serializable

public class ResourceMissingException
extends PortalException

This exception would inform uPortal that a particular resource required to complete channel operation is missing.

Version:
$Revision: 19776 $ $Date: 2010-01-14 16:17:21 -0600 (Thu, 14 Jan 2010) $
Author:
Peter Kharchenko
See Also:
Serialized Form

Constructor Summary
ResourceMissingException(ResourceMissingException exception)
           
ResourceMissingException(String resourceURI, String resourceDescription, String msg)
          Instantiate a ResourceMissingException providing the URI of the missing resource, a description of the missing resource, and a message.
ResourceMissingException(String resourceURI, String resourceDescription, String msg, boolean refresh, boolean reinstantiate)
          Instantiate a ResourceMissingException providing a URI of the missing resource, a description of the missing resource, a message, and indicating whether channel refresh and channel reinstantiation are appropriate responses to the error condition.
ResourceMissingException(String resourceUri, String description, String message, Throwable cause)
          Instantiate a ResourceMissingException providing the URI of the missing resource, a description of the missing resource, a message, and an underlying cause.
ResourceMissingException(String resourceURI, String resourceDescription, Throwable cause)
          Instantiate a ResourceMissingException providing the URI of the missing resource, a description of the missing resource, and a cause.
 
Method Summary
 String getResourceDescription()
          Get a description of the missing resource.
 String getResourceURI()
          Get the URI of the missing resource.
 
Methods inherited from class org.jasig.portal.PortalException
getErrorID, getParameter, getTimestamp, isLogPending, isRefreshable, isReinstantiable, setErrorID, setLogPending, setParameter, setRefreshable, setReinstantiable
 
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

ResourceMissingException

public ResourceMissingException(ResourceMissingException exception)

ResourceMissingException

public ResourceMissingException(String resourceURI,
                                String resourceDescription,
                                String msg)
Instantiate a ResourceMissingException providing the URI of the missing resource, a description of the missing resource, and a message.

Parameters:
resourceURI - URI of the missing resource
resourceDescription - description of the missing resource
msg - message about the error condition

ResourceMissingException

public ResourceMissingException(String resourceURI,
                                String resourceDescription,
                                Throwable cause)
Instantiate a ResourceMissingException providing the URI of the missing resource, a description of the missing resource, and a cause.

Parameters:
resourceURI - URI of the missing resource
resourceDescription - description of the missing resource
cause - the cause of the error condition

ResourceMissingException

public ResourceMissingException(String resourceURI,
                                String resourceDescription,
                                String msg,
                                boolean refresh,
                                boolean reinstantiate)
Instantiate a ResourceMissingException providing a URI of the missing resource, a description of the missing resource, a message, and indicating whether channel refresh and channel reinstantiation are appropriate responses to the error condition.

Parameters:
resourceURI - URI of the missing resource
resourceDescription - description of the missing resource
msg - message about the error condition
refresh - true if refreshing is an appropriate response
reinstantiate - true if reinstantiation is an appropriate response

ResourceMissingException

public ResourceMissingException(String resourceUri,
                                String description,
                                String message,
                                Throwable cause)
Instantiate a ResourceMissingException providing the URI of the missing resource, a description of the missing resource, a message, and an underlying cause.

Parameters:
resourceUri - URI of the missing resource
description - description of the missing resource
message - message about the error condition
cause - underlying cause of this problem
Method Detail

getResourceURI

public String getResourceURI()
Get the URI of the missing resource.

Returns:
the URI of the missing resource, or null if not specified.

getResourceDescription

public String getResourceDescription()
Get a description of the missing resource.

Returns:
a description of the missing resource, or null if not specified


Copyright © 2010 Jasig. All Rights Reserved.