com.sun.tools.javac.code
Class Symbol.CompletionFailure

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Field Summary
 JCDiagnostic diag
          A diagnostic object describing the failure
 java.lang.String errmsg
          Deprecated. Use getDetail() or getMessage()
private static long serialVersionUID
           
 Symbol sym
           
 
Constructor Summary
Symbol.CompletionFailure(Symbol sym, JCDiagnostic diag)
           
Symbol.CompletionFailure(Symbol sym, java.lang.String errmsg)
           
 
Method Summary
 java.lang.Object getDetailValue()
           
 JCDiagnostic getDiagnostic()
           
 java.lang.String getMessage()
           
 Symbol.CompletionFailure initCause(java.lang.Throwable cause)
           
 
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
 

Field Detail

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.

Constructor Detail

Symbol.CompletionFailure

public Symbol.CompletionFailure(Symbol sym,
                                java.lang.String errmsg)

Symbol.CompletionFailure

public Symbol.CompletionFailure(Symbol sym,
                                JCDiagnostic diag)
Method Detail

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