|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.emf.ecore.xmi.XMIException
public class XMIException
Field Summary | |
---|---|
protected int |
column
|
protected int |
line
|
protected java.lang.String |
location
|
Constructor Summary | |
---|---|
XMIException(java.lang.Exception exception)
|
|
XMIException(java.lang.Exception exception,
java.lang.String location,
int line,
int column)
|
|
XMIException(java.lang.String message)
|
|
XMIException(java.lang.String message,
java.lang.Exception exception)
|
|
XMIException(java.lang.String message,
java.lang.Exception exception,
java.lang.String location,
int line,
int column)
|
|
XMIException(java.lang.String message,
java.lang.String location,
int line,
int column)
|
Method Summary | |
---|---|
int |
getColumn()
Returns the column location of the issue within the source. |
int |
getLine()
Returns the line location of the issue within the source. |
java.lang.String |
getLocation()
Returns the source location of the issue. |
java.lang.String |
getMessage()
Returns a translated message describing the issue. |
java.lang.Exception |
getWrappedException()
Deprecated. in 2.2. Use Throwable.getCause() instead. Given that
the constructors of this class take Exception s as arguments, it is
save to do this cast (Exception)getCause(). |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String location
protected int line
protected int column
Constructor Detail |
---|
public XMIException(java.lang.String message)
public XMIException(java.lang.Exception exception)
public XMIException(java.lang.String message, java.lang.Exception exception)
public XMIException(java.lang.String message, java.lang.String location, int line, int column)
public XMIException(java.lang.String message, java.lang.Exception exception, java.lang.String location, int line, int column)
public XMIException(java.lang.Exception exception, java.lang.String location, int line, int column)
Method Detail |
---|
public java.lang.String getMessage()
Resource.Diagnostic
getMessage
in interface Resource.Diagnostic
getMessage
in class java.lang.Throwable
public java.lang.String getLocation()
Resource.Diagnostic
URI
of the resource containing this diagnostic.
getLocation
in interface Resource.Diagnostic
null
if it's unknown.public int getLine()
Resource.Diagnostic
1
is the first line.
getLine
in interface Resource.Diagnostic
public int getColumn()
Resource.Diagnostic
1
is the first column.
getColumn
in interface Resource.Diagnostic
@Deprecated public java.lang.Exception getWrappedException()
Throwable.getCause()
instead. Given that
the constructors of this class take Exception
s as arguments, it is
save to do this cast (Exception)getCause().
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |