|
|||||||||||
| 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
| Field Summary | |
protected int |
column
|
protected int |
line
|
protected String |
location
|
| Constructor Summary | |
XMIException(Exception exception)
|
|
XMIException(Exception exception,
String location,
int line,
int column)
|
|
XMIException(String message)
|
|
XMIException(String message,
Exception exception)
|
|
XMIException(String message,
Exception exception,
String location,
int line,
int column)
|
|
XMIException(String message,
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. |
String |
getLocation()
Returns the source location of the issue. |
String |
getMessage()
Returns a translated message describing the issue. |
Exception |
getWrappedException()
Deprecated. in 2.2. Use Throwable.getCause() instead. Given that
the constructors of this class take Exceptions 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 String location
protected int line
protected int column
| Constructor Detail |
public XMIException(String message)
public XMIException(Exception exception)
public XMIException(String message,
Exception exception)
public XMIException(String message,
String location,
int line,
int column)
public XMIException(String message,
Exception exception,
String location,
int line,
int column)
public XMIException(Exception exception,
String location,
int line,
int column)
| Method Detail |
public String getMessage()
Resource.Diagnostic
getMessage in interface Resource.Diagnosticpublic String getLocation()
Resource.DiagnosticURI of the resource containing this diagnostic.
getLocation in interface Resource.Diagnosticpublic int getLine()
Resource.Diagnostic1 is the first line.
getLine in interface Resource.Diagnosticpublic int getColumn()
Resource.Diagnostic1 is the first column.
getColumn in interface Resource.Diagnosticpublic Exception getWrappedException()
Throwable.getCause() instead. Given that
the constructors of this class take Exceptions 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 | ||||||||||