com.sun.tools.javac.code
Class Symbol.CompletionFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sun.tools.javac.code.Symbol.CompletionFailure
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ClassReader.BadClassFile
- Enclosing class:
- Symbol
public static class Symbol.CompletionFailure
- extends java.lang.RuntimeException
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
sym
public Symbol sym
diag
public JCDiagnostic diag
- A diagnostic object describing the failure
errmsg
@Deprecated
public java.lang.String errmsg
- Deprecated. Use
getDetail() or getMessage()- A localized string describing the failure.
Symbol.CompletionFailure
public Symbol.CompletionFailure(Symbol sym,
java.lang.String errmsg)
Symbol.CompletionFailure
public Symbol.CompletionFailure(Symbol sym,
JCDiagnostic diag)
getDiagnostic
public JCDiagnostic getDiagnostic()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage in class java.lang.Throwable
getDetailValue
public java.lang.Object getDetailValue()
initCause
public Symbol.CompletionFailure initCause(java.lang.Throwable cause)
- Overrides:
initCause in class java.lang.Throwable