|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.core.report.impl.MessageImpl
eu.esdihumboldt.hale.common.core.io.report.impl.IOMessageImpl
@Immutable public class IOMessageImpl
Default IOMessage
implementation
Constructor Summary | |
---|---|
|
IOMessageImpl(String message,
Throwable throwable)
Create a new message |
|
IOMessageImpl(String message,
Throwable throwable,
int lineNumber,
int column)
Create a new message |
|
IOMessageImpl(String pattern,
Throwable throwable,
int lineNumber,
int column,
Object... arguments)
Create a new message and format it using MessageFormat |
protected |
IOMessageImpl(String message,
Throwable throwable,
String stackTrace,
int lineNumber,
int column)
Create a new message |
Method Summary | |
---|---|
int |
getColumn()
Get the column the message refers to |
String |
getFormattedMessage()
Get the formatted message string with additional informations. |
int |
getLineNumber()
Get the line number the message refers to |
Methods inherited from class eu.esdihumboldt.hale.common.core.report.impl.MessageImpl |
---|
getMessage, getStackTrace, getThrowable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface eu.esdihumboldt.hale.common.core.report.Message |
---|
getMessage, getStackTrace, getThrowable |
Constructor Detail |
---|
public IOMessageImpl(String message, Throwable throwable)
message
- the message stringthrowable
- the associated throwable, may be null
public IOMessageImpl(String message, Throwable throwable, int lineNumber, int column)
message
- the message stringthrowable
- the associated throwable, may be null
lineNumber
- the line number in the file, -1
for nonecolumn
- the column in the line, -1
for noneprotected IOMessageImpl(String message, Throwable throwable, String stackTrace, int lineNumber, int column)
message
- the message stringthrowable
- the associated throwable, may be null
stackTrace
- the associated stack trace, or null
lineNumber
- the line number in the file, -1
for nonecolumn
- the column in the line, -1
for nonepublic IOMessageImpl(String pattern, Throwable throwable, int lineNumber, int column, Object... arguments)
MessageFormat
pattern
- the message format patternthrowable
- the associated throwable, may be null
lineNumber
- the line number in the file, -1
for nonecolumn
- the column in the line, -1
for nonearguments
- the arguments for the message formatMethod Detail |
---|
public int getColumn()
IOMessage
getColumn
in interface IOMessage
-1
if no column is referencedIOMessage.getColumn()
public int getLineNumber()
IOMessage
getLineNumber
in interface IOMessage
-1
if no line is referencedIOMessage.getLineNumber()
public String getFormattedMessage()
Message
getFormattedMessage
in interface Message
getFormattedMessage
in class MessageImpl
Message.getFormattedMessage()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |