com.android.ide.common.res2
Class MergingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.android.ide.common.res2.MergingException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DuplicateDataException, MergeConsumer.ConsumerException
public class MergingException
- extends java.lang.Exception
Exception for errors during merging
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MergingException
public MergingException(@NonNull
java.lang.String message,
@Nullable
java.lang.Throwable cause)
MergingException
public MergingException(@NonNull
java.lang.String message)
MergingException
public MergingException(@NonNull
java.lang.Throwable cause)
setFile
public MergingException setFile(@NonNull
java.io.File file)
setCause
public MergingException setCause(@NonNull
java.lang.Throwable cause)
setLine
public MergingException setLine(int line)
setColumn
public MergingException setColumn(int column)
getMessage
public java.lang.String getMessage()
- Computes the error message to display for this error
- Overrides:
getMessage
in class java.lang.Throwable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
getFile
@Nullable
public java.io.File getFile()
- Returns:
- the source file where the error occurred, if known
getLine
public int getLine()
- Returns:
- the 0-based line number, if known, otherwise -1
getColumn
public int getColumn()
- Returns:
- the 0-based column number, if known, otherwise -1