public class XMIException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
protected int |
column |
protected int |
line |
protected java.lang.String |
location |
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn() |
int |
getLine() |
java.lang.String |
getLocation() |
java.lang.String |
getMessage() |
java.lang.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(). |
protected java.lang.String location
protected int line
protected int column
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)
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getLocation()
public int getLine()
public int getColumn()
@Deprecated public java.lang.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 © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature