android.databinding.tool.processing
Class ScopedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
Constructor Summary |
ScopedException(java.lang.String message,
java.lang.Object... args)
|
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 |
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
ScopedException
public ScopedException(java.lang.String message,
java.lang.Object... args)
getBareMessage
public java.lang.String getBareMessage()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
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()