# AnnotationNotFoundException

public class AnnotationNotFoundException extends Exception

未找到注解的异常。

在 SDK 中，以及开发者自己扩展的代码中，所有的消息类都需要添加 MessageTag 注解。

#### See also

io.rong.imlib.MessageTag

## Constructors

AnnotationNotFoundException
Link copied to clipboard
public void AnnotationNotFoundException()

## Inherited properties

cause
Link copied to clipboard
public Throwable cause
stackTrace
Link copied to clipboard
public Array<StackTraceElement> stackTrace

## Inherited functions

addSuppressed
Link copied to clipboard
public final synchronized void addSuppressed(Throwable exception)
fillInStackTrace
Link copied to clipboard
public synchronized Throwable fillInStackTrace()
getCause
Link copied to clipboard
public synchronized Throwable getCause()
getLocalizedMessage
Link copied to clipboard
public String getLocalizedMessage()
getMessage
Link copied to clipboard
public String getMessage()
getStackTrace
Link copied to clipboard
public Array<StackTraceElement> getStackTrace()
getSuppressed
Link copied to clipboard
public final synchronized Array<Throwable> getSuppressed()
initCause
Link copied to clipboard
public synchronized Throwable initCause(Throwable cause)
printStackTrace
Link copied to clipboard
public void printStackTrace()
setStackTrace
Link copied to clipboard
public void setStackTrace(Array<StackTraceElement> stackTrace)
toString
Link copied to clipboard
public String toString()