public static enum QuimpException.MessageSinkTypes extends Enum<QuimpException.MessageSinkTypes>
QuimpException.handleException(Frame, String)
.
QuimpException.handleException(Frame, String)
will return just formatted
string without any action.
Enum Constant and Description |
---|
CONSOLE
Console sink (stderr).
|
GUI
Display window with message.
|
IJERROR
Use IJ.error for log.
|
MESSAGE
Print message in console.
|
NONE
None of above, just return formatted exception string.
|
Modifier and Type | Method and Description |
---|---|
static QuimpException.MessageSinkTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuimpException.MessageSinkTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuimpException.MessageSinkTypes CONSOLE
public static final QuimpException.MessageSinkTypes GUI
public static final QuimpException.MessageSinkTypes IJERROR
public static final QuimpException.MessageSinkTypes MESSAGE
Similar to CONSOLE
but message has INFO level.
public static final QuimpException.MessageSinkTypes NONE
public static QuimpException.MessageSinkTypes[] values()
for (QuimpException.MessageSinkTypes c : QuimpException.MessageSinkTypes.values()) System.out.println(c);
public static QuimpException.MessageSinkTypes valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.