org.apache.jetspeed.exception
Class JetspeedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.jetspeed.exception.JetspeedException
All Implemented Interfaces:
java.io.Serializable, RequestDiagnosticsHolder
Direct Known Subclasses:
AdministrationEmailException, AJAXException, CapabilitiesException, FailedToRenderFragmentException, LockFailedException, NodeException, NodeNotFoundException, PipelineException, PortletAccessDeniedException, PortletEntityNotDeletedException, PortletEntityNotStoredException, PreferencesException, ProfilerException, RegistrationException, RegistryException, SecurityException, SerializerException, SpacesException, SSOException, UnableToBuildCapabilityMapException, UnknownPortletDefinitionException, UnrenderedContentException

public class JetspeedException
extends java.lang.Exception
implements RequestDiagnosticsHolder

Occurs when anything unexpected happens within Jetspeed.Any defined exceptions within Jetspeed should always extend from this.

Version:
$Id: JetspeedException.java 772479 2009-05-07 00:43:28Z ate $
Author:
David Sean Taylor
See Also:
Serialized Form

Field Summary
static java.lang.String KEYED_MESSAGE_BUNDLE
           
 
Constructor Summary
JetspeedException()
           
JetspeedException(KeyedMessage typedMessage)
           
JetspeedException(KeyedMessage keyedMessage, java.lang.Throwable nested)
           
JetspeedException(java.lang.String message)
           
JetspeedException(java.lang.String msg, java.lang.Throwable nested)
           
JetspeedException(java.lang.Throwable nested)
           
 
Method Summary
 KeyedMessage getKeyedMessage()
           
 java.lang.String getMessage()
           
 java.lang.String getMessage(java.util.Locale locale)
           
 java.lang.String getMessage(java.util.ResourceBundle bundle)
           
 RequestDiagnostics getRequestDiagnostics()
           
 void setRequestDiagnostics(RequestDiagnostics rd)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

KEYED_MESSAGE_BUNDLE

public static final java.lang.String KEYED_MESSAGE_BUNDLE
See Also:
Constant Field Values
Constructor Detail

JetspeedException

public JetspeedException()

JetspeedException

public JetspeedException(java.lang.String message)

JetspeedException

public JetspeedException(KeyedMessage typedMessage)

JetspeedException

public JetspeedException(java.lang.Throwable nested)

JetspeedException

public JetspeedException(java.lang.String msg,
                         java.lang.Throwable nested)

JetspeedException

public JetspeedException(KeyedMessage keyedMessage,
                         java.lang.Throwable nested)
Method Detail

getKeyedMessage

public KeyedMessage getKeyedMessage()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getMessage

public java.lang.String getMessage(java.util.ResourceBundle bundle)

getMessage

public java.lang.String getMessage(java.util.Locale locale)

setRequestDiagnostics

public void setRequestDiagnostics(RequestDiagnostics rd)
Specified by:
setRequestDiagnostics in interface RequestDiagnosticsHolder

getRequestDiagnostics

public RequestDiagnostics getRequestDiagnostics()
Specified by:
getRequestDiagnostics in interface RequestDiagnosticsHolder


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.