org.mule.api
Class MuleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.mule.api.MuleException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BusinessException, ConnectorException, DefaultMuleException, EncryptionStrategyNotFoundException, EndpointException, EntryPointNotFoundException, FatalException, HandlerException, LifecycleException, ManagementException, MessagingException, ModelException, MuleContextException, NoSatisfiableMethodsException, NotificationException, ReceiveException, RemoteDispatcherException, ResourceManagerException, SecurityProviderNotFoundException, ServiceException, TooManySatisfiableMethodsException, TransactionException, UnknownAuthenticationTypeException
public abstract class MuleException
- extends Exception
MuleException
is the base exception type for the Mule server any
other exceptions thrown by Mule code will be based on this exception,
- See Also:
- Serialized Form
MuleException
public MuleException(Message message)
- Parameters:
message
- the exception message
MuleException
public MuleException(Message message,
Throwable cause)
- Parameters:
message
- the exception messagecause
- the exception that cause this exception to be thrown
MuleException
public MuleException(Throwable cause)
MuleException
protected MuleException()
setMessage
protected void setMessage(Message message)
setMessage
protected void setMessage(String message)
getExceptionCode
public int getExceptionCode()
getI18nMessage
public Message getI18nMessage()
getMessageCode
public int getMessageCode()
addInfo
public void addInfo(String name,
Object info)
appendMessage
protected void appendMessage(String s)
prependMessage
protected void prependMessage(String s)
setExceptionCode
protected void setExceptionCode(int code)
getMessage
public final String getMessage()
- Overrides:
getMessage
in class Throwable
initialise
protected void initialise()
getDetailedMessage
public String getDetailedMessage()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getInfo
public Map getInfo()
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.