ome.util.messages
Class MessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ome.util.messages.MessageException
- All Implemented Interfaces:
- Serializable
public class MessageException
- extends RuntimeException
Message which wraps a Throwable
instance since
OmeroContext.publishEvent(org.springframework.context.ApplicationEvent)
cannot throw a checked exception.
- Since:
- 3.0-Beta2
- Author:
- Josh Moore, josh at glencoesoftware.com
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
t
protected final Throwable t
MessageException
public MessageException(String msg,
Throwable throwable)
- Create an instance. The passed in
Throwable
is available via
getException()
.
- Parameters:
msg
- throwable
-
getException
public Throwable getException()
- Get the exception which this instance wraps.
- Returns:
OmeroJava Api
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.