Package ome.util.messages
Class MessageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ome.util.messages.MessageException
-
- All Implemented Interfaces:
java.io.Serializable
public class MessageException extends java.lang.RuntimeException
Message which wraps aThrowable
instance sinceOmeroContext.publishEvent(org.springframework.context.ApplicationEvent)
cannot throw a checked exception.- Since:
- 3.0-Beta2
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Throwable
t
-
Constructor Summary
Constructors Constructor Description MessageException(java.lang.String msg, java.lang.Throwable throwable)
Create an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getException()
Get the exception which this instance wraps.
-
-
-
Constructor Detail
-
MessageException
public MessageException(java.lang.String msg, java.lang.Throwable throwable)
Create an instance. The passed inThrowable
is available viagetException()
.- Parameters:
msg
-throwable
-
-
-