public abstract class ThreadLocalMessages extends Object
Constructor and Description |
---|
ThreadLocalMessages() |
Modifier and Type | Method and Description |
---|---|
static Messages |
getMessages()
Gets the collection of messages stored with the current thread of execution.
|
static boolean |
isErrorsEnabled()
Flag indicating that
CorruptedException s are enabled. |
static void |
setErrorsEnabled(boolean value)
Setter for property
errorsEnabled . |
public ThreadLocalMessages()
public static Messages getMessages()
public static boolean isErrorsEnabled()
CorruptedException
s are enabled.true
if a CorruptedException
must be thrown whenever a file error is detected;
false
to not throw any exception when detecting a file error.public static void setErrorsEnabled(boolean value)
errorsEnabled
.value
- true
if a CorruptedException
should be thrown whenever a file error is detected;
false
to not throw any exception when detecting a file error.Copyright © 2005–2014 jDTAUS. All rights reserved.