com.android.ide.common.res2
Class MergingException.Builder

java.lang.Object
  extended by com.android.ide.common.res2.MergingException.Builder
Enclosing class:
MergingException

public static class MergingException.Builder
extends java.lang.Object


Method Summary
 MergingException build()
           
 MergingException.Builder withFile(java.io.File file)
           
 MergingException.Builder withFile(com.android.ide.common.blame.SourceFile file)
           
 MergingException.Builder withMessage(java.lang.String messageText, java.lang.Object... args)
           
 MergingException.Builder withPosition(com.android.ide.common.blame.SourcePosition position)
           
 MergingException.Builder wrapException(java.lang.Throwable cause)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

wrapException

public MergingException.Builder wrapException(@NonNull
                                              java.lang.Throwable cause)

withFile

public MergingException.Builder withFile(@NonNull
                                         java.io.File file)

withFile

public MergingException.Builder withFile(@NonNull
                                         com.android.ide.common.blame.SourceFile file)

withPosition

public MergingException.Builder withPosition(@NonNull
                                             com.android.ide.common.blame.SourcePosition position)

withMessage

public MergingException.Builder withMessage(@NonNull
                                            java.lang.String messageText,
                                            java.lang.Object... args)

build

public MergingException build()