android.databinding.tool.processing
Class ScopedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by android.databinding.tool.processing.ScopedException
All Implemented Interfaces:
java.io.Serializable

public class ScopedException
extends java.lang.RuntimeException

An exception that contains scope information.

See Also:
Serialized Form

Field Summary
static java.lang.String ERROR_LOG_PREFIX
           
static java.lang.String ERROR_LOG_SUFFIX
           
static java.lang.String FILE_KEY
           
static java.lang.String LOCATION_KEY
           
static java.lang.String MSG_KEY
           
 
Constructor Summary
ScopedException(java.lang.String message, java.lang.Object... args)
           
 
Method Summary
static ScopedException createFromOutput(java.lang.String output)
           
 java.lang.String createHumanReadableMessage()
           
static void encodeOutput(boolean encodeOutput)
           
static java.util.List<ScopedException> extractErrors(java.lang.String output)
           
 java.lang.String getBareMessage()
           
 java.lang.String getMessage()
           
 ScopedErrorReport getScopedErrorReport()
           
static boolean issEncodeOutput()
           
 boolean isValid()
           
 
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

ERROR_LOG_PREFIX

public static final java.lang.String ERROR_LOG_PREFIX
See Also:
Constant Field Values

ERROR_LOG_SUFFIX

public static final java.lang.String ERROR_LOG_SUFFIX
See Also:
Constant Field Values

MSG_KEY

public static final java.lang.String MSG_KEY
See Also:
Constant Field Values

LOCATION_KEY

public static final java.lang.String LOCATION_KEY
See Also:
Constant Field Values

FILE_KEY

public static final java.lang.String FILE_KEY
See Also:
Constant Field Values
Constructor Detail

ScopedException

public ScopedException(java.lang.String message,
                       java.lang.Object... args)
Method Detail

getBareMessage

public java.lang.String getBareMessage()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

createHumanReadableMessage

public java.lang.String createHumanReadableMessage()

getScopedErrorReport

public ScopedErrorReport getScopedErrorReport()

isValid

public boolean isValid()

createFromOutput

public static ScopedException createFromOutput(java.lang.String output)

extractErrors

public static java.util.List<ScopedException> extractErrors(java.lang.String output)

encodeOutput

public static void encodeOutput(boolean encodeOutput)

issEncodeOutput

public static boolean issEncodeOutput()