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.RuntimeExceptionMessage which wraps aThrowableinstance 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.Throwablet
-
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.ThrowablegetException()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 inThrowableis available viagetException().- Parameters:
msg-throwable-
-
-