public Class<?>[] declaredExceptions() {
        return declaredExceptions;
    }
Returns the exceptions declared by this function.
thrift/thrift0.21/src/main/java/com/linecorp/armeria/internal/common/thrift/ThriftFunction.java