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:
Serializable
Direct Known Subclasses:
AdministrationEmailException, AJAXException, CapabilitiesException, FailedToCreateWindowException, FailedToRenderFragmentException, FailedToRetrievePortletWindow, LockFailedException, NodeException, NodeNotFoundException, PipelineException, PortletAccessDeniedException, PortletEntityNotDeletedException, PortletEntityNotStoredException, PreferencesException, ProfilerException, RegistrationException, RegistryException, SecurityException, SerializerException, SSOException, UnableToBuildCapabilityMapException, UnknownPortletDefinitionException, UnrenderedContentException

public class JetspeedException
extends Exception

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

Version:
$Id: JetspeedException.java 516448 2007-03-09 16:25:47Z ate $
Author:
David Sean Taylor
See Also:
Serialized Form

Field Summary
static String KEYED_MESSAGE_BUNDLE
           
private  KeyedMessage keyedMessage
           
 
Constructor Summary
JetspeedException()
           
JetspeedException(KeyedMessage typedMessage)
           
JetspeedException(KeyedMessage keyedMessage, Throwable nested)
           
JetspeedException(String message)
           
JetspeedException(String msg, Throwable nested)
           
JetspeedException(Throwable nested)
           
 
Method Summary
 KeyedMessage getKeyedMessage()
           
 String getMessage()
           
 String getMessage(Locale locale)
           
 String getMessage(ResourceBundle bundle)
           
 
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 String KEYED_MESSAGE_BUNDLE
See Also:
Constant Field Values

keyedMessage

private KeyedMessage keyedMessage
Constructor Detail

JetspeedException

public JetspeedException()

JetspeedException

public JetspeedException(String message)

JetspeedException

public JetspeedException(KeyedMessage typedMessage)

JetspeedException

public JetspeedException(Throwable nested)

JetspeedException

public JetspeedException(String msg,
                         Throwable nested)

JetspeedException

public JetspeedException(KeyedMessage keyedMessage,
                         Throwable nested)
Method Detail

getKeyedMessage

public KeyedMessage getKeyedMessage()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getMessage

public String getMessage(ResourceBundle bundle)

getMessage

public String getMessage(Locale locale)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.